Bodybuilding people fart a lot because they eat too much starch and protein food (such as beans, potatoes, milk, eggs, etc. ), or wolfing down when eating, habitually swallowing too much, swallowing saliva frequently and taking in more air. These are not pathological and need no treatment.
Protein will have this situation if it is ingested in large quantities. Some people are allergic to lactose (or galactose), so eating more protein powder will cause diarrhea.