There is the inherited kind, and then there is the "earned" kind. One is genetically unavoidable, the other is mostly preventable.
It is not even the food, or fats, or carbs, or sugars, it's too many calories over extended time frames and all the fizzy drinks with sugar and lattes with more calories than a pizza are what transfers people to diabetes city.
The body has ok ish prevention systems when it comes to food via ghrelin feedback loop and stomach size, but the body cannot cope with too much fast absorbed fluid calories.
The rise of zero calorie drinks is a decent first step, some people say these can make you fat as well, but that is entirely physically impossible, they contain zero energy and they do not cause blood sugar level volatility , else diabetics drinking them could drop dead within minutes.
Many people have very poor education on food matters and are falling to all kinds of marketing tricks, like bio(doesn't make it healthy) , no fat(replaced by sugar), natural ingredients or juice(how much and still, fluid fruit sugar is not good for you if you drink a bottle).
Sure, a basketball professional can have a Gatorade after a training when he is depleted of glycogen, but the Avery joe whos daily exercise is grabbing the beer and tv remote and constantly being saturated with carbs? Will not end well.
I didn't look up historical data but the self caused diabetes will certainly be more wide spread in nations with more obesity problems than nations with slimmer people.
And diabetes and blood sugar levels are just the start, there are many more undesired side effects.
Source, ex gf has masters in nutrition.