"Best friend's" boyfriend

Today my best friend and I stopped being friends because her boyfriend of a year wasnt comfortable with us being friends because she dated my husband 5 years ago for 3 months in high school. He said a bunch of nasty words about my 14 month old and he called me a bad person. I've never done anything to betray or intentionally hurt my friend in the years we've been friends. We even avoided my husband when she was around so it wouldn't make her boyfriend mad. He told her he didn't see a future with her as long as Im with my husband. So she told me we shouldnt talk any more, I was upset and she got mad at me for not respecting her relationship enough to understand 😢