I was in the opposite situation, I had a friend for years, she was recently remarried, and she told me terrible tales about this awful family, who had treated her husband so dreadfully, turned their backs on him in his hour of need, she clearly hated them, I didn’t know them at all, so I’d just sort of agree.
Then by a very strange set of coincidences, I became good friends with a girl, only to discover she was married to one of these dreadful brothers. It did make me withdraw a bit, but I realised that I liked her, and as far as I could see, she was a good person
Thirty years on, we are still really close friends, her husband is a genuinely decent man, my friendship with my original friend fizzled out, her choice
What I’m saying is, people see different things in different people, maybe they just hit it off, sad for you I know, but not necessarily done out of unkindness