Because of the large density of photon states in the cavity, the interaction between the electromagnetic field of the light and the electronic transitions of the magnetic material is enhanced, resulting in a larger difference between the velocities of the right- and left-hand circularized polarization, therefore enhancing Faraday rotation.