Sweets, unhealthy foods and sugar cause type 2 diabetes because the body gets damaged if you eat a lot of these. The body continues producing insulin but, it doesn't get it going through the system...
Obesity.
It can trigger it, since a part of your insulin must react with your fat cells. As you gain weight more is sequestered there.
An unbalanced predominance of high Glycemic, junk carbohydrates in a diet.
Learn about Diabetes Type 2
Causes of Type 2 Diabetes
The Reason for the Increase of Type 1 Diabetes
How Type I and Type II Diabetes Differ