Welcome to HCM.
It could be due to muscle twitching of that area.
Sometime it happens due to excessive work on computer,tv watching.It will subside itself otherwise You can take simple pain killer.
If it is recurrent then migraine
should be rule out. There are specific treatment for migraine headche.
Consult your doctor for better guidance and medical management.