Aside from eye issues and primary headaches ( such as migraine, cluster or tension headaches), other possible causes include caffeine withdrawal, discontinuation of analgesics. In particular,
cluster headache begins as a severe, sudden
headache and may tend to occur at the same time of day. The headache may also strike while sleeping. If it persists, check with your doctor for proper evaluation. Take care and do keep us posted.