Just before setting, the sun may appear to be elliptical. This happens due to:
Diffraction
Refraction
Dispersion
Reflection
Refraction of light rays through the atmosphere may cause different magnifications in the mutually perpendicular directions.