Global winds are caused due to the unequal heating of the planet by the sun, and they're named according to the direction they flow. While horizontal movement of wind is a product of the pressure change from high to low, vertical change happens because of density.