This is the dehydration theory, bumped up a level. If you were dehydrated from being out in the heat too long, you would be low on both hydration and electrolytes. So electrolyte-containing drinks like Gatorade and Pedialyte sound like they should help, right? If you’ve been throwing up a lot, they might be soothing.
Pedialyte also has that “sick child being taken care of in a medically sound way” vibe, even though there’s no mommy and no doctor involved, just your drunk ass self-medicating at a convenience store on the way home from the bar. But, just like water, Pedialyte and other electrolyte-containing drinks can only address the dehydration, not the underlying hangover.