Emotional Whiplash is the right term for it

A support community for those recovering from a breakup with a Fearful or Dismissive Avoidant