Bacteria or viruses that get inside the ear are the most common causes of otitis media. These bacteria or viruses can initially cause sore throats, colds, or other respiratory or breathing problems and then spread to the middle ear.