Answer
The answer is below.
Work Step by Step
The air contains gaseous water molecules in it. When the warmer molecules come into contact with the colder glass, they lose energy, which is transferred to the glass. In this lower energy state, they no longer have enough energy to remain in the gaseous state and thus condense.