Electric and magnetic fields in an electromagnetic wave are in phase when propagating through non-conductive media, such as dielectrics and vacuum, due to the absence of net free charge flow. This relationship is governed by Faraday's Law and Ampere's Law, where the electric field is proportional to the rate of change of the magnetic field and vice versa. In conductive materials, the fields may fall out of phase due to free charge fluctuations, leading to attenuation. The behavior of materials in response to electromagnetic fields also depends on the frequency, characterized by the ratio of conductivity to permittivity multiplied by frequency. Understanding these principles is essential for comprehending wave propagation in different media.