Toriel is already dead
so theres a part in the story right before the 2nd encounter with flowey, where you kill toriel. toriel might actually be already dead, and shes a spirit. if she was already dead, she might have either commited suicide after asgore possibly divorces him, or asgore tortured toriel, leading to murder.