Why is it wrong to be friends with an ex?

My ex girlfriend, who I dated a while back , and she has avoidant attachment issues, and she comes back each time she’s single, and blocks when she’s not
Ladies, any gents, should I cut her off?
Why is it wrong to be friends with an ex?
Post Opinion