The story
From mouth, meaning "talk" rather than action, and trousers, presumably at the time of origin, a reference to masculinity, either as trousers as a male item of clothing, or a reference to the genitals.
Etymology from Wiktionary, CC BY-SA 4.0.