Chickens are neither but when folks go around catching their hens to give them a little loving, the rooster.... well the rooster he gets jealous.
After all folks a rooster is not complicated he is just a chicken and as such he doesn't understand the human concept of petting. The only petting that a rooster understands is heavy petting with a young nubile pullet.
What he does understand and understands well is that anytime his lady friends become panicked and fly, flap, and squawk bloody murder that it is time for him to spring into action. Picking up a hen who would rather not be picked up or children running and shouting by the chicken coop can and will convince your rooster that you or your grand children are a threat to his hens and he'll be ready and waiting for you the next time you are around his mistresses.
Remember that in a rooster's pea sized brain those hens do not belong to you, they are the property of your rooster. IMHO if the chicken's keepers don't understand chickens and what makes them tick, in the long run you will have better luck curbing rooster aggression if you breed or select for a strain of one legged roosters. That way you can at least stay out of his way when he goes postal on you,
but most of all telling the little day old pullets from the cockerels will be a snap.