The reason why capacitors form electric fields
As your capacitor discharges, the electric field intensity gets smaller and that energy has flowed into the resistor, but the energy that flows into the resistor in a small moment in time is energy from right nearby, and just before the resistor there is a high conductive material with very low electric fields, so not much electromagnetic ...