To briefly introduce it, in the Neutral Ending worldview, which does not have an Genocide ending, Sans lives in the ruins with Toriel after Papyrus dies.Meanwhile, the monsters did not know this and viewed Toriel with disapproval, so they invaded the ruins and an incident occurred.