This price differential based on claims experience is legal in most states and makes perfect sense.
Since women tend to live longer than men, they pay lower life insurance premiums when all other things are equal (age, occupation, etc .).