This is the second time I have captured a bird regurgitating. Here is an Eastern Kingbird Regurgitating.
Some birds species occasionally regurgitate pellets of indigestible matter.
Birds that are regurgitating will consciously and vigorously bob their head, and then bring softened, undigested food into the mouth. This food may then be re-ingested, or dropped from the mouth.