Yes, certain foods can trigger diarrhea in dogs and cats, especially if they have food allergies or sensitivities. Common food culprits include table scraps, fatty foods, dairy products, bones, spicy or heavily seasoned foods, and sudden dietary changes. It's important to feed your pet a balanced and appropriate diet to avoid digestive issues.