Somehow (viscosity, magnetic fields, turbulence?) the orbiting gas must lose angular momentum so that it can spiral down onto the neutron star - and in the process release LOTS of X-rays.