Your eyes are controlled by 6 muscles. When you are sick you may feel extra strain on these muscles causing the pain. Also, when you have a fever the eyes may feel drier.
Hi and welcome to the Migraines & Headaches Community.
It sounds like a sinus headache. You should try some sinus/allergy medication. This is the season.