High blood sugar, also called hyperglycemia, affects people who have diabetes. Several factors can play a role in hyperglycemia in people with diabetes. They include food and physical activity, illness, and medications not related to diabetes. Skipping doses or not taking enough insulin or other medication to lower blood sugar also can lead to hyperglycemia.