What causes temporary hyperglycemia?
You may also have an infection in your pancreas that controls blood insulin levels, thus resulting in hyperglycemia. If you have an infection, your blood sugar may be briefly high, during the time that you are ill, resulting in a temporary hyperglycemia.