Water has 3 states, solid(ice), liquid(water, and gas(Water vapor). When water is boiled, it gathers heat energy. It then becomes a gas , breaking away from other water particles. it gathers together...
the ice loses heat to the surrounding air and condenses on the outer surface of the glass.
Gravity
Water vapor condenses to form water droplets.
clouds