There is potentially more to be said, but I have previously answered this (sort of) here:
How did the idea of men having short hair/ women having long hair come about?