It's more likely that both you and your baby picked up a minor stomach bug. But yes, it could be something you ate. If so, there's no need to worry: This will pass (no pun intended). Proteins from the foods mothers ate have been found in their milk. There's at least one advantage to food components passing into your milk. Babies get a sneak peek of the flavors on the family table while breastfeeding. Some think this is why breastfed babies have fewer feeding problems when they start solids.