When a photon comes down, it interacts with electrons throughout the glass, not just on the surface. The photon and electrons do some kind of dance, the net result of which is the same as if the photon hit only on the surface.
Richard P. Feynman (2014). “QED: The Strange Theory of Light and Matter”, p.17, Princeton University Press