She likely has a malfunctioning ovary which is causing her to not produce the female hormones that would ordinarily make her behave as a hen. This is allowing the male hormones she produces to evidence themselves in a way they ordinarily do not thus the crowing.
It's not very common but it...