Well, I don't know how the culture differs in Japan, but as someone socialized as a girl/woman in the US, it isn't that strange. Girls and women here often play with each others' hair and style it and teach each other different ways to do it. It's one way of lady-bonding.