Pneumonia makes your child's lung swell up. This is the immune system's normal response to things it is not used to. Germs, such as bacteria or viruses, are things your child's immune system isn't used to, and they cause swelling.