I have seen this before when they are choking. My greens have foamed up when this happens. I usually grab whatever they were eating and they foam a little and then they stop foaming.

I dont think its going to be anything diagnostic
-MV