Water is the only gas of the three that condenses in atmospheric conditions. The total amount of water vapor that air (or the atmosphere) can hold depends on temperature more than anything else, excess water remains in the atmosphere for days only. This seems like good overview.
https://www.newscientist.com/article/dn11652-climate-myths-c...