One element that may cause Pug farts is if the puppy or dog eats too quickly.
This causes burps and gassy problems as well, since air is gulped down along with the food.
It is quite normal for dogs to wolf down their food as if they were never going to be able to have dinner again.