Insurance policies are legal contracts, and the Company is bound to pay only the beneficiary named in the policy. It appears that he failed to change his named beneficiary after his divorce.
I think the company did what they were required as dictacted by Insurance Law.