Costume jewelry: what causes a ring-rash sometimes and not others?

Metal alloy. Nickel and other metals in jewelry can cause contact dermatitis. The variability may be related to the metal composition of the jewelry. You can prevent contact of the metal with skin by coating the relevant part of jewelry with clear nail polish.