While popular among environmentalists and climate change advocates, however, the anti-fracking bill was the opposite of popular among other groups, including labor unions and legislators who were worried about its negative effect on employment in California’s oil industry. The state is the nation’s seventh-largest producer of crude oil.