Spitting up

Marissa
So, my son spits up... A lot! I've taken out chocolate, PB, red sauce, and allow myself no more than one cup of coffee. However, last night he spent the night at my in-laws and he didn't spit up at all for nearly 24 hrs! Why would he spit up after being breastfed but not after a breast
Milk bottle??? Makes no sense to me...