Hawking radiation
How can a black hole shine when it absorbs everything?
Because the emission does not come from inside. It is the vacuum, just at the edge of the horizon, that is disturbed by gravity and begins to radiate. Nothing escapes the black hole, yet it still loses mass.