Somewhere I read that moisture (rain, snow, mud) that gets in the cab (from shoes, window left open, etc.) evaporates and rises to the roof between the two panels and condenses there, accumulating in the cavity above the windshield.
I guess that makes sense.