It happened because you allowed it to happen. Toxic people love drama and you two feed off one another. My friends parents were like that when they divorced and it really fuched him up. I’m afraid this will also happen to your children. For whatever reason she doesn’t respect you and gets off on emasculating you. You take it from her because you need to still feel connected to her.