Light changes speed when it enters water or glass, and that makes it bend. Drag the beam and see.
A beam hits a flat surface. Part of it bounces off and part goes through at a new angle. The brighter line carries more of the light.
Shine from inside and, past a certain angle, nothing gets out at all.
Keep watching