The exact mechanism is unknown, but it is believed that babies may swallow some air while sucking on pacifiers, leading to gas and discomfort.