Some factors increase the risk of getting epiglottitis, including: Having a weakened immune system. An immune system weakened by illness or medicines can be more likely to get bacterial infections that may cause epiglottitis. Not being fully vaccinated. Skipping vaccinations or not getting them on time can leave a child open to Haemophilus influenzae type b (Hib) and increase the risk of epiglottitis.