A company is not just a group of people. At least, any publicly-traded company has a legal obligation to it's shareholders. The job of the Board of Directors is to ensure that the company is performing as optimally as possible to earn as much as possible for the shareholders. Morals aren't a part of the equation, it's all exploiting the confines of the law.