Whoa buddy, let's take a step back. Are we even sure people fart more on planes. I have personally never noticed an increase in both producing and receiving such gases. And I think I would notice being packed in a sardine can with methane.
But I always assumed it was just because I subconsciously held it in more because of close proximity of unfamiliar humans.