When travelling obliquely from one medium to another medium, the direction of light rays in the second medium
changes
When a light ray travels from one medium to another medium at an angle, it bends and its path changes, due to refraction. Due to this, the rays seems to be coming from a point different than from where they are actually coming from. This is why, the bottom of a tank or a pond containing water appears to be raised.