9mo crys badly at night

My lo is 9mo now, and almost every night when he sleeps, he will all the sudden cry and scream. Night mares? And I doubt is gas pain as he's now 9mo, digestion should be well developed as he can burp by himself now. Sometimes I wish he could tell me why irritates him.