The magnetron, the waveguide to the cavity, the cavity and all the waves that bounce around inside of it are intrinsically in the same frame of reference, with no ejected mass or energy other than heating from the dielectric and conduction losses of the cavity materials.