Can allergies cause asthma?

Asthma is a genetic inflammatory disease, so, allergies cant cause asthma, but if you already have asthma, allergies can surely trigger asthma attack, since its caused by allergens and such that when in your airways make them close and make you cough, wheeze, have shortness of breath