Yeah this was essentially what Jeff Nippard came to
https://www.youtube.com/watch?v=keBZfGAmq2Q
A massive oversimplification of the above video:
Most people aren't consciously choosing to be more obese compared to people in the 1950's, there's simply a much higher availability of high caloric foods and marketing/psychology around it.