White blood cells from the bloodstream help fight infection. As they attack and kill bacteria, white blood cells die and form pus in the middle ear. Pus is a thick, yellowish-white fluid.