Legislators and experts disagreed on the long-term merits of subsidies, with IRA critics questioning if the clean energy boom would amount to a “sugar high.”