In premature infants, the cause may be related to the immaturity of the childâs digestive system. NEC involves infection and inflammation in the childâs gut, which may stem from the growth of dangerous bacteria or the growth of bacteria in parts of the intestine where they do not usually live.