Rather than blaming abstract concepts like toxic masculinity or feminism, I think individuals are ultimately responsible for their own behavior. Factors like upbringing can have an impact, to an extent, but hiding behind a big name social movement or dynamic doesn't give them a free pass as far as I'm concerned. If they aren't virtuous, it's because they lack virtue. Not because they're male or female.
My friendships are up to me and the people I'm friendly with. I prefer masculinity in myself and femininity in the women I date. Beyond that, friendships don't have much to do with these things. If somebody is alright, they're alright. If not, that's their problem. There have always been men and women who behave badly, who don't treat others with common courtesy and exhibit antisocial traits. I try to avoid such people when I can.