I’m hesitant to say that girls seem to find making friends more complicated than boys do. But that is how I remember it.
Perhaps it is that boys easily form packs since most of what they do is run around together with occasional physical scuffles. There’s no deep involvement as a group.
Girls are looking for support and assurance of their worth that needs an outside source. Their group is vital to their emotional development. Someone they like turning on them is seriously hurtful.
Eventually both grow up. Most girls find a cute feral boy who doesn’t gnaw the furniture too much and gentle him down until he is as capable of mature social interaction as any girl. They get hitched and start the cycle anew.