It can be due to extra milk or formula consumed that causes babies to spit up. Other reasons can include swallowing air while feeding, coughing or sneezing along with feeding, the immature stomach valve, and the baby may be distracted while feeding.