It is chemical and metabolic and hormonal. Stop eating for a week, and that feeling is not your willpower waning.
It's not easy to willpower past biology, which for many includes unbalanced hunger control mechanisms. I chose a low-carbohydrate diet to control my appetite. But if semaglutide allows people to lose weight, then it's probably better than obesity.
They probably could have been doing keto this entire time, but doctors cant prescribe it, the US Dietary Guidelines recommend against it, and the largest US medical organizations say it might kill you. Nor is it terribly difficult. But keto is not effective because of willpower, it's effective because it's chemical and metabolic and hormonal.