Windows steam up when both: A) Room humidity is high enough (usually over 40%) AND B) The temperature of the glass is low enough (4 deg. Centigrade or lower). If so, airborne water vapour will give up stored (latent) energy to the glass and revert to liquid state (water droplets).