There is an old saying in meteorology that goes something like this. If it goes up, it cools.
Most people think of the wind as horizontal.
A wind out of the north is usually cold while winds out of the south are warmer. But to the meteorologist the up and down wind is just as important. In fact in terms of predicting clouds, rain or snow, the air blowing up or down is critical. Rising motion in our atmosphere always results in cooler temperatures in the rising column of air. If the temperature cools enough, saturation occurs when the relative humidity reaches 100 percent.