Answer :

because when there is higher humidity there are more water molecules in the air and so this leaves a lower capacity for water from your hair to evaporate.