The container used to dye fabric in..

… is important because a “mordant” will change the chemistry between fabric and dye, and a brass, copper, or iron pan will alter the chemistry in the dye.  Enamel is preferred for dying.

(Photo: container makes the difference.  Dying in stainless steel)