They're just doing their law-mandated "corporate duty" - protecting the value of their outfit for their shareholders.
The laws, as they now stand, give corporations the upper hand. Moral reasons are no excuse for risking shareholder value. Imagine if people operated their lives on the same premise!