As water vapor builds up in the winds blown towards mountains, they are forced to rise and the temperature drops. The water condenses into clouds at these higher altitudes. This is why mountain peaks are often seen to be surrounded by layers of cloud.