How do you tell your son you do not like how he treated his friend

My son is a junior in high school and he's started going through this kind of macho phase. He's been trying to fit in because he struggled with it a lot in middle school because he was the weird autistic boy who just wanted to talk about anime and cartoons 24/7. Now he's trying to fit in more with kids at his school and that has been worrying me because a lot of boys his age are watching male influencers who are preaching toxic masculinity and misogyny. I've been a little concerned about the friends he's chosen to hang out with and notice some changes in behavior. I heard him and his group of friends telling one of his other friends that he needed to "Get over this depression shit." They're all on the basketball team and from the conversation it sounds like this friends depression has affected his playing and all of them, my son included were telling him to get over it because he's causing issues for the team. I've been needing to have a talk about the people he's chosen to around himself with for a while I just didn't know how to start the conversation because teenagers don't like to listen.