Hyperglycemia (high blood sugar) and hypoglycemia (low blood sugar) can occur in people with or without diabetes, triggered by factors like medications, infections, skipped meals, or stress hormones.