A 50-year-old man with a history of severe asthma and nasal polyps presents with worsening respiratory symptoms after taking naproxen. His physician explains that NSAIDs trigger his symptoms due to an increase in leukotrienes. Which of the following best explains the underlying pathophysiology of this condition?