Depends on a few factors - if it's only with wheat cereal, consider gluten
intolerance or possibly celiac.
Is there a family history? Makes it a bit more likely. Try an elimination diet, taken out all sources of gluten for a week or so - see if that helps. Also - if it does, check with your pediatrician re: testing.