Can glaucoma give you headaches?

Yes. Acute angle closure glaucoma classically causes severe eye pain (in and around) and a headache which can be over the brow. Sometimes narrow angles with intermittent angle closure can also cause headaches.