We are also now seeing people where diet and exercise simply isn't working as expect. There was a study that indicated that PFAS pollution affects the metabolism in some people during the night. Normally you still burn calories while you sleep, but for some elevated PFAS levels causes their bodies to basically stop burning calories during the night.
You're not wrong the pushing lifestyle changes should be the primary goal, but the world isn't that black and white. Peoples circumstances are different and ignoring pharmaceuticals on principle isn't particularly productive. Just like ignoring lifestyle coaching is foolish.