This relies on the behaviour of moving electrons, which reflect off surfaces where the dielectric constant changes, in a fashion similar to the way light reflects when optical properties change.
What particle's migration does the resonance principle rely on?
electrons