In other words, malnutrition tends to cause (mild or moderate) immunodeficiency, eroding the barriers that normally keep infectious diseases at bay.
Malnutrition weakens the immune system, making individuals more susceptible to infections by compromising their defenses against pathogens.