Hi amiralikhan, welcome.
A (nother) possibility is some type of ocular/ophthalmic/optical/retinal migraine, which may need a
neuro-ophthalmologist or migraine
specialist (not just a neurologist who
says they can treat migraine) to determine/investigate. I mean a specialist whose practice is limited solely to headaches/migraines—there's a
huge difference.
ophthalmic migraine
You might also visit/post to the
Headache forum.
Doc