When bacteria cause pneumonia, your child may get sick quickly with a high fever and have difficulty breathing. When a virus causes it, symptoms show up more gradually and may be less severe.