The x-ray emitting plasma is moving with the stellar wind, at hundreds or even thousands of km/sec – thus, the emitted x-rays should be Doppler shifted
Executive summary: Radiation-driven flows are inherently unstable; these flows are turbulent, and dissipate a lot of energy, shock-heating some fraction of the wind plasma to x-ray emitting temperatures.