this is the same concept but the direction of light is opposite.

simply put, it is refraction of light :) hope it helps