These X-ray stars are really binary systems, with a normal star and a black hole locked in a close orbit. The solution to the opening riddle is that the black hole is not emitting all those X-rays, it is the gas falling into the black hole from the companion star.