> No, the symptom is being treated, not the underlying issue.
That's a semantic argument. The "issue", medically, to most people viewing this as a health problem, is excess body fat and not eating behavior.
I mean, you're not wrong, but this seems silly. YES, it would be better to have developed a cure for disordered and unrestrained eating. We didn't. And we don't really even know how. Oops, as it were. But we do have a treatment that avoids the most significant impacts of those problems.
Medicine is harder than software engineering. Not all bugs are shallow even with all the eyes in the world.
Additionally - GLP1 drugs work by changing those eating patterns.