moizpk2001,
The hot air inside the motor will expand and most likely will leak out through the seals, to balance the atmospheric pressure. When stops, the air will cool down, creating a vacuum inside the motor, absorbing moist air from the ambient (IP55 allows limited ingress, is not air tight). The moisture will condensate on metallic surfaces, producing a corrosive environment and also a conductive medium with obvious potential consequences. The heaters will automatically maintain an elevated internal temperature to prevent the condensation of the absorbed moisture. This particularly important for larger motors, where the consequences of failure could be very costly.
Cheers,
gr2vessels