Why do women pay more for a short haircut?

Why do hair salons charge women more for a haircut - and are barbers allowed to turn them away?

Source