The phenomenon is due to the condensation of water vapor from the atmosphere onto a cold surface.