The bank, which has been under review by the Texas attorney general over its involvement in the Net-Zero Banking Alliance, said it is leaving the group.