The answer to this question is rather simple. There is a natural pressure/temperature difference between the inside of the house and the outside. The humidity in the warm air is much greater than that of cold air. So the warm air has more moisture (water vapour) contained in it. When the warm moist air meets the cold glass it condenses into water. The explanation can be aided with drawing of a phase diagram.