Time dependent models of the winds show lots of structure: turbulence, shock waves, collisions between “clouds”
This chaotic behavior is predicted to produce X-rays through shock-heating of some small fraction of the wind.
The wind structure - and associated shock heating - is generated by the line-force instability, which relies on Doppler deshadowing of radiatively-driven ions to increase the radiative driving in an exponentially growing feedback process.