What causes ear infections?

Ear infections are often caused by bacterial or viral infections due to colds, sinus infections, or allergies that block the eustachian tube.
image