To elaborate, the gamma rays don't actually come from inside the black holes. They come from the "accretion disk", a region of swirling gas, outside of the black hole. This disk is very, very, hot - hot enough to produce a significant amount of gamma rays. (X-rays are really what it is at the...