A newborn had vomiting initially followed by distention of abdomen. He is passing stool and urine. No vomiting now.

But abdomen is distended on percussion it is tympanic. What could be the causes?