One type of headache caused by high blood sugar is known as occipital neuralgia, and may feel like the scalp, upper neck, back of head, or behind the ears is inflamed or in stabbing, throbbing, or shock-like pain.