It seems like this tendency has been existent in many cultures around the world, from before internationalisation/globalisation took place. When/How/Why did it become to prevalent?
Hi! This is a pretty popular question -- you may wish to peruse this section of the FAQ to see if the threads linked there answer your question: https://www.reddit.com/r/AskHistorians/wiki/health#wiki_on_men_with_short_hair.2C_women_with_long_hair.2C_and_vice_versa
There are a few more threads which don't show up there -- a search for "long hair" in this subreddit should turn them up. :)
Found these threads in the FAQ. They seem to cover what you're asking.