Stars themselves rarely collide, even with two galaxies that merge. It’s like flinging two handfuls of sand at each other, where each grain of sand is separated from the others by something like half a mile.
picture the Oort cloud passing through our system a few dozen times. Don’t need a direct hit from a star to destroy this planet. I expect another Theia type planet