Obesity and weight gain in general is mainly caused by diet, not exercise. You can run 12 hours a day but if you eat 10k calories a day, you're going to end up fat.
I’m unsure if your body can even process 10k calories in day. The basal metabolic rate for a 1000 lbs person isn’t that high.
https://olympics.com/en/featured-news/michael-phelps-10000-c...
That’s a half marathon for a 150 lbs fit person, running efficiently. A 250 lbs person who is a little out of shape will burn that in a 2.5 hour walk.
Obviously 1300 calories a day above maintenance is extreme for most people, but energy expended scales non linearly with weight. There are also a lot quicker ways to burn calories than marathon running.