Swelling from a cold, allergies, or a sinus infection can keep the eustachian tubes from opening. This leads to pressure changes. Fluid may collect in the middle ear. The pressure and fluid can cause pain. You also can have ear pain from changes in pressure while you are flying in an airplane, driving up or down mountains, or scuba diving. Fluid in the ear can lead to an infection (acute otitis media). Young children have a high risk of ear infections, because their eustachian tubes are shorter and more easily blocked than the tubes in older children and adults.