Snell's Law 1
When light crosses from one medium to another of a different density, its speed and wavelength change. Where it strikes the new surface at an angle, the transmitted wave is refracted -- it changes direction.
More information:
http://poppersdreamland.blogspot.com/2012/02/snells-law-1.html