Ibuprofen can trigger an asthmatic attack, especially, if you already had one caused by taking other nonsteroidal anti-inflammatory drugs.
Precipitation of asthmatic attacks by nonsteroidal anti-inflammatory drugs is mediated through inhibition of prostaglandin biosynthesis. The degree of that inhibition, which leads to bronchoconstriction, is an individual hallmark.
Anyway, be careful with using ibuprofen.
Have you experienced asthma attack when using aspirin or other nonsteroidal anti-inflammatory drugs?