I think it is both.  In this article they said IQ at young ages predicts adult obesity.  In other research I read, diets high in added sugars decrease brain plasticity.  Basically, they are too stupid to control their eating and then eat things that make them..."more stupider."