Fasting can definitely raise blood glucose. This is due to the effect of insulin falling and the rising counter-regulatory hormones including increased sympathetic tone, noradrenaline, cortisol and growth hormone, in addition to glucagon. These all have the effect of pushing glucose from liver storage into the blood. This is normal. If you are not eating, you want to use some stored glucose. The question is this – if you are not eating, and your blood glucose went up, where did that glucose come from? It can only have come from your own body (liver). So, it’s a natural phenomenon, and the fasting now allows your body to use some of the glucose for energy.