I mean, being treated for something is good and all but i believe its better when we know the root of the problem
Depends on which type of diabetes you're referring to.
Type1, type 2, GD, MODY, type 3C, MIDD, CFRD all have different causes. The causes for T2, GD and T1 (including LADA), the most common types of diabetes, aren't fully understood yet.
The other types I mentioned have a clear cause.