On cold nights the steel panels drop below the dew point of the air inside, so moisture condenses on them and drips. Closed-cell foam bonded to the steel keeps humid air from touching the cold metal and slows how fast the panels cool.
More detail
Everything inside a pole barn or steel shop adds moisture: a slab that is still drying, a gravel floor over damp Blount or Pewamo clay, livestock, a truck brought in wet, or an unvented propane heater, which puts water vapor into the air as it burns. On a clear Central Ohio winter night the roof panel radiates heat to the sky and can fall below the outdoor air temperature, so condensation forms even when the building feels dry. A condensation blanket or factory liner helps on new construction, but for an existing building closed-cell foam is the common retrofit because it bonds to ribbed steel and seals laps and fasteners as it goes. Coverage has to be continuous, because bare purlin edges and gaps at the eave become the new cold spots. Ventilation still matters, and a vented heater beats an unvented one. See the pole barn FAQ for code and use questions.