This headache could be due to raised intracranial pressure and lowering
of temporal lobes on
MRI due to
brain herniation, which is a consequence
of very high intracranial pressure. Herniation could result from many factors causing mass effect and increase intracranial pressure including traumatic brain injury, stroke and brain tumor. You need to consult a neurologist immediately with this concern, as this can be fatal. Hope this helps. Take care.