In the figure we see a cross section of what happens when the material from the disrupted star is devoured by the black hole. An accretion disk is formed (disk) by the material. There is too much material for it to pass into the black hole at once. It is heated up in the process and emits vast amounts of light and radiation, visible from Earth (Double arrow).
In a turbulent magnetic environment, magnetic field lines become scrambled. As the field lines cross, intense electric currents (shown here as bright regions) form and eventually trigger magnetic reconnection (indicated by a flash), which is an explosive event that releases magnetic energy accumulated in the current layers and ejects high-speed bi-directional jets of electrons.