Animals eat grass to make them throw up or to clear up an upset stomach. It could be as simple as something they ate that did not agree with them, but it could be something more. It is really hard to tell. I would bring him to the vet just in case it is something more. You do not want your pet to dehydrate.