When light passes from A to B, the value of sin isin r is greater than 1. It implies that the light ray bends towards the normal.
We know that,
sin isin r=v1v2.
If the value is greater than 1, it implies;
So, in medium B, light travels with a lesser velocity, implying that medium B is denser than medium A . Therefore, the ray will bends towards the normal.