Look up Hadley cells. https://groups.seas.harvard.edu/climate/eli/research/equable...
Warm air rises near the tropics, rotating with the Earth. It then goes towards the temperate zone, still rotating with the Earth to form the jet stream. It then falls, creating the trade winds as it slows down. It then is sucked back towards the tropics, creating a reverse trade wind because it is only going as fast as the temperate zone. And then it rises, completing the cycle.
The prevailing wind in both temperate zones and the tropics is therefore due to the Earth's rotation.