The British Diabetes Association specifically states that sugar does not directly cause diabetes. It's important (and honest) to emphasize the distinction because this is the opposite of the prevailing view.
Note that I'm not saying it's fine to eat lots of sugar. Sugar is definitely terrible for your teeth and that alone should be enough to stay away. I'm just saying that the article is being intellectually dishonest, and that's wrong even if the conclusion (eat less sugar) is completely correct.
All those twinkies have triggered insulin, a side effect of which increases cell size, with significant impact on fat cells. If your fat cells are enlarged from insulin, then you are primed to become obese because your cells are ready to store more than someone who hasn’t been wrecking their body with insulin spikes from twinkies all day every day.