Why is it seen as dirty for men to have long hair, but women having long hair is fine?

Why is it seen as dirty for men to have long hair, but women having long hair is fine?
Post Opinion