A boom in the production of green trucking fuel is punishing renewable-energy producers across the country, thanks to the shifting market for California’s low-carbon fuel credits. U.S. production of so-called renewable diesel, which is made from feedstocks such as beef tallow and soybean oil, has …