Light slows down in denser media due to interactions governed by Maxwell's equations, which involve the dielectric and magnetic properties of the medium. The refractive index, defined as n = √(ε_rμ_r), changes as light enters a medium, affecting its phase velocity. As light interacts with the denser atomic structure, it bends to maintain the principles of propagation, such as Huygens' and Fermat's principles of least time. This bending occurs for all types of electromagnetic radiation and waves, which can also experience diffraction. The explanation highlights the fundamental physics behind light's behavior in different media.