Diabetes, prediabetes, lack of insulin, pancreatitis, infections, stress, steroids, and pregnancy can cause high blood glucose. Lifestyle factors like diet, inactivity, and being overweight also contribute to elevated blood sugar.