My first thought was worm or protazoic infection.
I've seen one of my hen's vomit but she got into my compost which has a lot of mold and biological activity for decomposition.
It's important to deworm the flock yearly. As a safe measure to keep them healthy. And it's one less thing to...