I've experienced this with hens but not a cockerel before. It could have long grass in its crop or just a blockage. Its usually best to help quickly. I have uses warm (not hot) water to sooth the crop. If that does not work then try a little bit of natural yoghurt, because of the enzymes it...
I clean my hens out every 2-3 days. The coop needs to be cool and aird but with no drafts coming in! I us wood chipping as it is the least attractive to RED MIGHT! I scrub it down tough about every 2 months.