Chickens typically poo at night, so most of the ammonia is concentrated under their roosting bars. As a result, chickens will refuse to sleep in their roosting space and coop if it is dirty. The solution is to clean the coop more often. The more chickens you own, the more regularly you will need to clean.