Ear infections are not contagious, however, the cold virus that sets the stage for ear infections can be spread from person to person. Ear infections occur when the eustachian tube that links the back of the throat to the middle ear is unable to drain, commonly due to congestion and inflammation from a cold or allergies. Bacteria or viruses can then multiply in the middle ear, causing infection.