correlation doesn't mean causation, although I myself think insulin resistance happens to obese people because they are obese and not some underlying mysterious reason, but insulin resistance is not typically the only source of T2D, if it was, thin people would never get T2D, so I guess we still have ways to go before we solve this one.