The matter that falls onto the neutron star already heats up during the infall because there is gravitational potential energy released, and so the matter is so hot that, in general, it's highly ionized. 