Sheikh Omar Suleiman has this very important reminder of why guys and girls cannot be friends.
There was an experiment carried out by non-Muslims regarding this and the conclusion was guys and girls can’t be friends without wanting more.
We can talk to the opposite sex with respect and without flirting as the Companions used to do but close friendships is always dangerous between men and women.