Some foods give you a cheap high when you’re stressed, rushed or depressed. People get addicted to that. That’s about it.
Need to treat the causes not the symptom. Magic pill to kill 25% of your weight leaves the causes behind.
Poverty and terrible work culture tend to drive it primarily. I see more fit and healthy people in well balanced jobs.