I have not read all of the responses but these are my views.
There are strong relationships between trauma and food intake. Here's a paper discussing the link:
Early trauma and adult obesity: Is psychological dysfunction the mediating mechanism? - ScienceDirect
All countries have been really bad at supporting people with trauma. Always. And people find ways to self medicate if they cannot find a way out of their pain. I have PTSD so I can understand the drive. I think that is part of the problem.
In the last 40 years, our food systems have changed. I'm not a proponent of blaming everything on UPFs as the evidence is weak, however, there are strong overlaps between high fat, sugar and salt foods (HFSS) and UPFs. Those HFSS foods now form far more of our diet than they did 40, 50 years ago and far more normalised. Not just supermarkets but takeaways. 40 years ago, you might have had one or two chip shops in your town. Now it's bloody everywhere. Food has never been so available and (despite recent changes) so cheap. If you want something to pep up your mood, there is a hamburger, fried chicken or warm cookie only minutes away, wherever you are.
At the same time, our work has changed to become more sedentary, less active, less physical. People are not doing the exercise they're advised to. While we are also increasing use of drugs to lower blood pressure. Overweight people don't die of heart attacks, they just get more overweight as they get into a vicious circle of insulin resistance, joint pain associated with weight etc.
Then the diet culture and yo-yo dieting risks. We know that diets generally don't work for most people. Most people regain then some. Our bodies often fight against weight loss for good reason. There is a human drive not to starve to death after all.
But there are some great papers out there hypothesising links. Including:
Your gut microbiome retains elements of an obese microbiome even after weight loss: Yoyo Dieting, Post-Obesity Weight Loss, and Their Relationship with Gut Health
Such things like hedonic (reward mechanism) pathways and DNA epigenetics have been proposed: Physiological and Epigenetic Features of Yoyo Dieting and Weight Control
GLP1s are changing the landscape at all but I don't think they're getting rid of the causes of obesity. More that it's now being treated as a deficiency much like the approach to mental health and SSRIs. I'd rather that we changed the environment that we're in that's creating obesity, just as I'd like it if we changed things like work pressures for mental health. But much like mental health, obesity is being pushed down being an individual problem rather than a societal one and that worries me. I have no judgement on people taking GLP1s. If I was obese, especially if I was unable to exercise as a result, I'd take one. But I think it's a sticking plaster for bigger problems that we are at risk of not changing, much as we've not changed mental health either. Just think about all the women on tranquilisers in the 50s. Has that really changed or have we just changed the drugs and approaches? Perhaps throwing in a bit of CBT as well? Or are we all just as frazzled as women were 70 years ago?