Why does allergic contact dermatitis exist?

Why does allergic contact dermatitis exist?