With the bad smell it could be infectious coryza. Do they have any discharge from eyes, nares or beak? Gunky eyes? Facial swelling? Wheezing or rales? What do droppings look like?
https://poultry.extension.org/articles/poultry-health/common-poultry-diseases/infectious-coryza-in-poultry/