All breastfed babies eat is breast milk, so that means the smelly gas is caused by something in your breast milk. Gas-inducing foods might affect your baby, as well. Take care of your diet! The problem is that it can be hard to determine the problem.