What it means is that the description is missing a step: the first step is to pump energy into the cavity, raising the electrons of the atoms into a higher-energy state.  Interaction with a photon will then cause the electron to decay back to the original state, creating a second photon that is an exact duplicate of the first.