One of the big reasons: education.
I bet most here never had nutrition/sport theory in school, I did have that. If you know how your body works, how food is processed internally and what is good/bad fats/sugars/carbs then it is not hard to eat healthy. I don't do much sport and still don't gain. The rest is selfdiscipline