what happens when moist air rises into a gas