Sometimes diabetes, is a consequence of a genetic predisposition, and not related to weight.
People of South Asian , African, Afro- Caribbean, Non European origin Hispanics, Polynesians, Torres Strait Islanders, Maoris, and other Pacific Islanders, have a lot of diabetics, who have no weight problem.
They have a liver which churns out more glucose than their muscles can take up, the constantly elevated BG, leads to excess insulin sloshing around their system, subsequently resulting in IR, then T2DM.