the trapped moisture condenses and creates the familiar layer of mist that blocks visibility.
Wiping the glass removes the droplets that have already formed, but it does not necessarily remove the humidity that caused them. This explains why fog can return only minutes after the windshield has been cleaned.