Because of World War II wage controls that accidentally made health benefits a way to attract workers
During World War II, the US government froze wages to prevent inflation. Companies could not offer higher pay, so they offered health insurance instead. The IRS then ruled employer health contributions were tax-free, cementing the system.