You seem focused on the physics and materialist viewpoint, but it seems like you are taking that line of reasoning just far enough where we can be judgmental and snarky about "secrets."
What if we take your thinking a little farther and think about the brain chemistry and drives that affect behavior. We are just materialistic machines, right?
Ever seen a sick person who just doesn't want to eat? Or a skinny person with little interest in food? Ever try to hold your breath for 3 minutes? This should, in theory, for the average person be possible. But for some reason it is really really hard.
What if, these diets don't affect the physics of weight loss, they affect the hunger drive--the chemicals in the brain? Do we still get to ride our moral high-horse then?
Or what if there are drives and chemicals in the brain and even the metabolism itself fights back.
https://www.scientificamerican.com/article/6-years-after-the...