Sounds like the inverter is the problem. When on shore/gen power, the inverter operates a internal transfer relay to pass the 120v. Relay operated generates heat and the inverter has a internal fan to keep it cool.
My fan will cycle every once in a while while on shore power.
__________________
|