1 million K is a lot of temperature! Even the largest blue-white stars only have a surface temperature of 40,000 K. Since you can approximate the energy output of stars as black body radiation (it's a lot more complicated, of course, but it's a good first approximation) this explains why most of their output is in the X-ray spectrum, too.