At nighttime, there's less movement and the gas can build up and get trapped. Additionally, babies tend to feed close to bedtime, and air introduced during this feed can become trapped. Also, our digestive systems are still very active at night and the results of digestion can be… gas!