The number one cause of smelly flatulence is the food you consume. Gasses created during your digestive process can be healthy if you have a nutritious diet full of fiber-rich foods. However, sometimes digestion produces hydrogen sulfide, which smells like rotten eggs and can make any fart stinkier.