It sounds like sour crop. I am not a chicken expert but I have been searching the forum for any clues to a problem with one of my baby chicks.
Try looking through this section of the forum: https://www.backyardchickens.com/t/613861/how-to-treat-sour-crop it may shed some light on the topic...