Why do women earn less than men? The usual suspects—occupation, hours, experience—explain some of it. But a powerful, often overlooked reason is simply this: where women work. The companies that hire them play a huge role in shaping their lifetime earnings.