Its US label calls the mechanism not established. Reviews name several candidate explanations, and after more than a century of use no study in people shows which one does the work.
Most of the evidence comes from rats, mice and cells. The animals usually got many times a person's dose. The studies in people are small: the largest randomised trial testing a mechanism had 134 patients.
Reviews read the same mostly animal evidence differently, three leaning toward their own authors' candidate. No study in people shows which step gives the relief, so which explanation does the work is unsettled.