Water vapor concentrations in the air are controlled by Earth’s temperature. Warmer temperatures evaporate more water from the oceans, expand air masses, and lead to higher humidity. Cooling causes water vapor to condense and fall out as rain, sleet, or snow.
Carbon dioxide, on the other hand...