Headaches also could indicate high blood pressure, hypoglycemia,
stress, migraines, and cluster and tension headaches. If the pain is, one sided, tumor and aneurysm need to be excluded with an MRI brain. Sinusitis is another condition where headache may present, varying with movement of head.
You are welcome with further elaboration of your condition and for more queries.
Wish you all the best.