Last month, his office started a review of whether 10 financial companies, including Bank of America Corp. and JPMorgan Chase & Co., violate a state law passed in 2021 that punishes firms for limiting work with the oil and gas industry because of environmental concerns.