Headaches and dizziness can be associated with an eye problem, specifically an eye muscle issue and the nerves that control the eye muscles. This is common following a head injury or whiplash. Symptoms include...
eye fatigue or strain
headaches, especially around the eyes
fogginess and focusing problems
Here is a video that talks about this finding and what this means.