Swimmer’s ear is caused by bacteria or fungi that infect the outer ear canal. The infection is typically triggered by water exposure, which can leave the ear canal moist and vulnerable to infection. Other causes include irritation from inserting objects into the ear or the use of ear devices that damage the skin inside the ear.
Sources: