In humid climates, the moisture in the air acts like a blanket and protects the earth’s surface from the hot rays of the sun. The absence of this blanket in desert lands causes the desert to heat up rapidly during the day and to cool off rapidly at night.