Asthma is an immune-mediated illness, which means that it happens because something is wrong with the body’s normal immune response, but doctors aren’t entirely sure what causes it. Like other immune-mediated illnesses, asthma is partly genetic, but environmental factors also play a big role in whether someone develops the disease.