which condition is likely to occur when warm moist air rises it to the atmosphere and cools