It seems like you have left for the time being, and in an hour or so I will have to also, so I will answer my own question and then give an explanation from Maxwells equations.
If there is rough road to the right and a vehicle goes from smooth road onto the rough road then it will tend to pull to the right. This will happen as soon as the right tire hits the rough road and is slowed down compared to the left tire which is still going on the smooth road. Analogously, light will turn if it goes into a medium with a slow speed of light (analogous to the rough road).
One of the simplest solutions to Maxwells equations is a single frequency plane wave. If you take two such solutions, one for each material, and match them at the interface, then you will get that the propagation direction is different in each.