I think the reasons differ from town to town. In some case, the ordinances were aimed at cleaning up reeking mud-swamp backyards with noisy 'farm animals' (and btw hens most certainly CAN be noisy, some individuals more than others).
In others, the ordinances were enacted out of fears that the...