A beam of light bends when it passes from one medium to another due to a change in the speed of the light.
Why does a ray of light bend when it travels from one medium to another?
Why does a ray of light bend when it travels from one medium to another?