X-ray sources in the sky which eminate from postulated black holes are due to radiation caused by the heating of infalling gas in the black holes accretion disc.
This means it is part of a binary pair, and is tearing gas off from it's companion star.