What physical change causes light to refract when crossing a boundary?
A change in the speed of light.