Bernard Looney, who resigned on Tuesday evening as BP’s chief executive after failing to disclose previous personal relationships with colleagues, had been with the supermajor since 1991, working his way up from the bottom and securing the coveted top job in 2020.