The L.A. City Council attempted to phase out oil production in 2022, but the ordinance was struck down by a judge following legal challenges from the oil and gas industry.