We can keep warm air inside by pulling the curtains across the windows.
If you leave the curtains open, the air inside touches the cold glass, and it cools down.
How else could we keep our house warm?