Caffeine, caffeine, caffeine. Caffeine paralyzes the pyloric sphincter @ the top of the stomach allowing gastric juices to overflow/backflow and cause heartburn. It's worse when you're horizontal, which babies are, until you pick them up. Doesn't matter how old or young you are.