Occasionally, however, allergy, infection, or other irritation can cause a buildup of pus, blood and other fluids within the middle ear. In these cases, the seal created by the eardrum acts to prevent proper drainage and can actually pose a health risk.