Do you have a 50 amp cord or 30 amp?
Do you have an energy management system?
Do you have 1 A/C or 2? One or two thermostats?
If you have a 30 amp service to the RV, normally they also include a energy management system, and that might be the cause of the problem.
If you have a 50 amp service to the RV, and are plugged into a 50 amp receptacle, it might be the outside circuit breaker is partly tripped, and shut off - turn back on might solve everything. Or you might have a problem with the transfer switch, so that one phase is not conducting power while on shore power. (this would be rare problem).
If you have 2 A/C units and a 30 amp system, you might have a switch that only allows running one A/C at a time on shore power, but would have a 5,500 watt Onan generator with a 20 and 30 amp breaker on the generator. The 30 amp will power all the normal appliances on the 30 amp main panel, while the 20 amp generator breaker will only power one of the A/C units.
Good luck,
Fred.