Please don't believe all the horseshit you see online.
Men and women (males and females make them sound like specimens in a science lab) are, surprise, members of the same species. The differences you've outlined are mainly learned behavior, when they exist at all.
Sex roles are not destiny. Hell, it used to be sex roles were men worked and women stayed home. Economics destroyed that sex role. It was hardly immutable, and neither are any of the other behaviors you've described.
Much of the woman-to-woman bonding, BTW, could be in direct response to the difficulties we face in life, e. g. often having to take safety into consideration more than men do, being pushed into marriage and childbearing, etc.
How can men and women have friendships? Cripes, men and women have had friendships for millennia. It's not all about sex when it comes to men and women and friendships.
And, BTW, men can have deep, intimate friendships in direct contradiction to what you've laid out here. Women can have superficial friendships. Men can be social. Women can be introverted.