What atmospheric phenomenon causes the sun to appear slightly higher than its actual geometric position when near the horizon?

Answer

Atmospheric refraction

The Earth's atmosphere bends light rays, acting like a lens. This bending effect, known as refraction, makes the sun visible slightly before it geometrically rises and slightly after it geometrically sets.

What atmospheric phenomenon causes the sun to appear slightly higher than its actual geometric position when near the horizon?
sunastronomymovementPositionday