For the other half, "why do amps determine wire size?" Amps are coulombs per second -- how much electrical stuff moves through a cross section in a second. The amount of heat produced is directly proportional to amperage (every bit of movement has a chance to whack into something and produce heat, and more movement per second or more seconds generates more heat). Wire size is ultimately constrained by being able to release that heat while still acting like a wire (not melting, not sublimating, still conducting, not setting anything else on fire, ...). The amount of heat released is proportional to surface area (proportional to the square root of diameter, but that difference doesn't matter a ton right now), and the amount of heat produced is proportional to amperage and approximately nothing else. The point where those two terms are equal is the limit for the system (engineers add in huge safety factors to account for conduit and insulation and other imperfections), above which your wire melts and below which it behaves reasonably. Higher amperages require higher surface area to release the extra heat (so much higher thicknesses), so a given amount of power (stuff you want your electrical system to do) requires lower amps or thicker wires to work appropriately, because you can achieve the same power by increasing the voltage on the same amperage, thereby solving your power problems without extra heat.
(RPM and voltage are in fact related in EVs as well: generally speaking a higher voltage motor will be able to produce more power for the same amount of space and materials, but mostly by spinning faster, not producting more torque. You then need to gear it down to be practical in a car. But the trend is that things that make higher voltages and higher RPMs possible (the technology in transistors, insulation, bearings) are already cheap or getting cheaper, while things that make higher currents and torques possible (generally more raw material like copper and steel) are staying the same or getting more expensive. So EVs in general are pushing to higher voltages for lots of things)
If the pressure coming from the hose is high, then you don't actually need a lot of water, and so you can use a narrow hose. On the other hand, if the pressure is low, you'll need to use a lot more water at once, so a wider hose.
It's the same thing for electrical components. If you'll excuse the mixed analogy, if you need to push an object with 480 watts of water to get it to move the speed you want it to, you can either do it with 48 volts of pressure with a hose 10 amps wide, or do it with 12 volts of pressure 40 amps wide.
What exactly is magical about higher voltages that makes them suddenly able to carry more power across the exact same wire? I know you just said it's "lower amperage" but I don't understand how amperage can be the only thing dictating the required size of a wire.