It can only do work indirectly , via the electric field generated by a changing magnetic field .
Moving electric charges can make magnetic fields .