Why do goats have rectangular pupils?
well you got me interested: this is my google result: Slit-shaped pupils are found in species which are active in a wide range of light levels. In strong light, the pupil constricts and is small, but still allows light to be cast over a large part of the retina. The orientation of the slit may be related to the direction of motions the eye is required to notice most sensitively (so a vertical pupil would increase the sensitivity of the eyes of a small cat to the horizontal scurrying of mice). The narrower the pupil, the more accurate the depth perception of peripheral vision is, so narrowing it in one direction would increase depth perception in that plane.[2] Animals like goats and sheep may have evolved horizontal pupils because better vision in the vertical plane may be benficial in mountainous environments.