Quasars are believed to be powered by gravity collecting material into supermassive black holes in the centers of distant galaxies. Light cannot escape the SBHs at the center of quasars, so the escaping energy is made outside the event horizon by gravitational stresses and immense friction on the incoming material.