I had this issue before and I currently have it again.
Both times it had to do with brooding.
The first time, one of my hens decide to brood her "imaginary" eggs and she started sitting under our table on the balcony on the backyard. The other hens, for reasons unknown to me so far, decided to keep her company. The rooster who was feeling that he should protect the coop was sitting above the table.... (Imagine that...) At first, I thought that this behavior was due to the summer heat so I wasn't worried. This was happening only during the day for the first couple of days. Though, surprisingly enough, two nights after, when I went to the kitchen to lock the door (around 2:00 am) I found them all on the same position... over and under the table!!!! (The door coop is like a "dog-door" in order our chickens to be able to push it and go outside whenever they want to do so, as from time to time we had hens who liked to wake up too early for my taste...!!!)
We carried them all back one by one and the morning, once again we found them on the same position.... We cleaned them one by one, we cleaned the coop, we sterilized the coop, we even built a brand new coop.... nothing... they preferred our table regardless what we did... Finally, we "located" the hen who started all these and we moved her in our bedroom. The other hens and our rooster, then were back to the coop, but our broody one was like a prisoner on Alcatraz!!!!
Then, we finally found a doctor who could visit us at home and he was explained to us what happened. We kept the broody hen separately and when the broody period was ended everything came back to normal.
Few days ago we noticed the exact same behavior with another hen... Thankfully now we know what is!!! The problem though is that now we have only this hen and a little rooster, so we can't isolate her, as our rooster is feeling already lonely due to brooding. If we remove her and he will not see it at all, I think he will be even sadder... So we leave her at her new nest (for some strange reason, she too is sitting under the table... maybe our table inspires brooding and we should change table instead to change coop!!!) and we carry both at their coop at night.
So for the moment the only thing that we can do is to wait Cosette to stop brooding and keep Hermes amused until then!!!
I don't know if this is your case, but I think our story proves that chickens are more clever and independent than we think, so my advise is to watch their behavior during the day. This way you may understand better why they don't like their coop lately...