Thanks for query,
Have you feel any other symptoms?No.
sleep some times causes this problem.
When we are not in a deep sleep our mind works causes this type of feeling when we awake.
Just leave tension, worries,take a deep sleep do some yoga
will solve your problem.
If your symptoms get worse than consult a doctor as there were several reason of headache.