Environmental enteric dysfunction ( EED ) is an acquired syndrome of impaired gastrointestinal mucosal barrier function that is thought to play a key role in the pathogenesis of stunting in early life .