So, not an expert, but to my understanding it's like a pinhole camera. With a small enough aperture, any one point on the surface can only receive light from one direction, which allows it to appear as a more focused image. Specifically, in an eclipse, an image of the moon obscuring the sun.