While being overweight is correlated with unhealthy, fatshaming doesn’t help. Telling people they are fat and should just eat healthier and move more, doesn’t help. They already know.
Besides: I said correlation because the causation is a bit more complicated. Often enough people gain weight during a depression. Telling them it’s a choice wouldn’t cure their depression but make it worse, both the depression and on the long run their weight.