The explanation is in the first comment…

without needing to go to the gym. People walked to run errands, used vehicles less for short trips, and household chores required more effort. Children spent hours playing in the street, and adults performed manual labor more frequently. All of this meant  greater natural energy expenditure .

Work  was different back then, too. Many jobs  required movement or, at least, didn’t involve spending most of the day in front of a screen. Today, a large part of the population spends  eight or more hours sitting down , and at the end of