Uber Technologies Inc.’s reported firing of two in-house lawyers who expressed concerns about data-retention policies and allegedly made unauthorized contact with outside counsel has raised questions among observers about the management of the law department at the ride-hailing company.

News of Uber’s firing of the two unnamed lawyers, first reported last week by the technology publication The Information, put fresh scrutiny on the law department at a time when the company is facing wider criticism about its culture and certain business practices.