The gas line from the main tank to the generator has probably deteriorated and sucking air into the fuel line for the generator.
If you remove the fuel line going to the pump and try to siphon gas from the main tank you will probably see air bubbles and the line will not maintain a siphon.
You can also supply gas to the pump from another tank to see if the gen continues to run after it starts.
Do not remove the carb, that is not the problem.
2000 Sea Breeze F53 V10 - CR-V Toad
Some RV batteries live a long and useful life, some are murdered.
Get a Digital Multimeter and Learn How to Use It