When bacteria cause pneumonia, the person gets sick right away and has a high fever and trouble breathing. When a virus causes pneumonia, symptoms usually appear more gradually and may be less severe.