sometimes the relatively normal companion star of a binary pulsar will swell up to the point that it dumps its outer layers onto the pulsar. this interaction can heat the gas being exchanged between the bodies and produce x-ray light which can appear to pulsate, in a process called the x-ray binary stage. the flow of matter from one stellar body to another often leads to the creation of an accretion disk about the recipient star.