Why does H. pylori infection cause excessive farting?

The process of H. pylori growth and reproduction produces a large amount of urease, which breaks down urea and thus produces large amounts of CO2, causing excessive farts.