Ear infections are caused by fluid buildup in the middle ear.