Usually it's gastric irritation. This can happen if your cat eats too much food, or scarfs it down too quickly. ... Sometimes cats eat indigestible stuff (such as grass), which can cause vomiting. Spoiled food is another culprit, as is wet food that's too cold.