Too much combined load
I assume you mean the boat breaker, not the breaker on the dock circuit. The problem is that the circuit breaker is sensing more load (watts) than is allowed on the circuit and is tripping. It could be an old boat breaker that is failing at less than capacity or it could be that there is corrosion somwhere that is providing just enough extra resistance to overload the circuit, or low voltage coming into the boat will increase the amps and also trip the breaker. You need an electrician to take a look at your set-up and check some voltages to determine what might be your cause.
If you have a volt meter and can measure the voltage yourself then just get the voltage at the outlet you are plugged into. A 30 amp circuit will trip at 120 volts when you exceed 3600 watts.
30 amps * 120 volts = 3,600 watts
If the voltage is less than 120 (most likely is) then: 30 amps * 110 volts = 3,300 watts
just insert the voltage you read into the formula above and that will tell you how many watts you can handle before tripping the breaker. Your water heater is probably around 1,800 watts and when the compressor is starting up, you are close to 1,800 watts, but it runs at a lower rate than start-up.
Try turning off the HWH until your boat temperature stabilizes - this will eliminate the compressor running all the time and can provide you some extra power for the HWH when the compressor is not running.
If you have some corrosion, that will cause heat in the line to your boat and that will increase the resistance and look like "watts" so that can also cause your circuit to overload. If it is a recent problem, then clearn your plug ends so they are shiny copper and see if that helps.
My 356 has two 30 amp breakers, but I can parallel the circuits and at the dock I normally use only one of the 30 amp breakers to serve my boat. I occassionally trip the breaker with the AC, HWH and microwave running. I don't have a problem with the generator running all at the same time, so my dock circuit is providing a little less voltage which increases the amps.
Hopefully, this has been some help to you in troubleshooting your problem.