Matchstick workers contracted phossy jaw through prolonged exposure to white phosphorus vapors. In factories, poor ventilation meant these toxic fumes were inhaled daily, leading to the phosphorus accumulating in their bones, particularly the jaw, causing infection.