"Dad, when you fart, do you lose or gain weight?"

Depends on your definition of weight. Weight is often defined strictly in terms of mass and gravitational force, making it irrelevant what atmosphere you’re standing in.

If you define weight as the reading on a scale, then it matters.