Why the bias against men's long hair?

Conventions for males’ hair length and facial grooming are always changing. In America, there always seems to be a substantial portion of the population taking serious umbrage at violators.

Some past discussions:

Daily shaving has become optional during my lifetime - In My Humble Opinion - Straight Dope Message Board

Mustaches taboo? - Factual Questions - Straight Dope Message Board