When vomit, food or liquid, other than clean fresh water, enter the lungs, it causes a chemical reaction that leads to inflammation of the lungs. Often this inflammation causes bacteria to multiply and make the pneumonia worse.