Try switching to a high protein layer feed, it's likely a lack of protein.i just feed them regular chicken feed and i’ve added some calcium to it last week
my neighbor feeds his chickens the same feed but has never had this problem
the chickens are always well fed i make sure to keep the feed box always full
i also give them food scraps from home alongside their food
It also could be tight quarters, boredom etc.