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
'There comes a time when the mind takes a higher plane of knowledge but can never prove how it got there. All great discoveries have involved such a leap. The important thing is not to stop questioning.'