My hens do it too. One of mine does it because they are gender confused and the other is showing dominance.
My gender confused hen grew a big comb and wattle, quit laying, started crowing and mating chickens, and she thinks shes a rooster.
My other one is just grumpy and rude and crows and...