My Oscar has done that a couple times in the past few weeks--he just did it today in fact. It's been really hot here, and he rough house's with the other puppy all day long. I think that's been upsetting his stomach, so he eats grass and then throws up the yellow bile.