Reading the first few paragraphs of the actual journal (thank you Cyan) tells you a completely different story; it says nothing about obese people being dumb, it talks about how obesity leads to brain degeneration in adults (early onset dementia, progressively poorer impulse control, and a generally changing brain structure) and screws up brain development in adolescents. Which really shouldn't be a surprise to anyone. This is just yet more evidence that obesity affects more than your heart and actively fucks with your brain.
So yes, if you have been obese for 30 years, your brain will be much more unhealthy than someone who wasn't obese. Shocking. But of course, that headline won't drive clicks.
Edit: this is not to say that it's your fault for being obese. The human body didn't evolve to factor 24/7 access to food. Things like food deserts also exist and actually healthy food can be too expensive for poorer people. There are also numerous conditions which make it difficult to lose or maintain weight.
This needs to become an important national discussion.