You know from weather reports about "relative humidity", which is a measure of the amount of actual water vapor in the air compared to the maximum amount of water vapor the air can hold. Warmer air can support more water vapor than cold air. As warm air comes in contact with a cold window pane, it's temperature is lowered and the water vapor that it can no longer hold condenses. If the temperature of the pane is below 0°C (32°F). that water freezes to become ice on the window pane.
Home humidifiers usually come with instructions NOT to raise the humidity level to the
point where water (and ice) form on windows, since damage to wooden frames can occur.
Answered by: Paul Walorski, B.A., Part-time Physics/Astronomy Instructor
'Strange is our situation here upon the earth. Each of us comes for a short visit, not knowing why, yet sometimes seeming to divine a purpose.'