A vibrating electric charge creates a change in the electric field. The changing electric field creates a changing magnetic field. This process continues, with both the created fields being perpendicular to each other and at right angles to the direction of propagation of the wave.