This is because the word "oeil" (eye) is masculine, but when it becomes plural, "les yeux", it takes on the feminine form.