The Congressional Budget Office projected President Trump’s tariffs could raise trillions of dollars over the next decade — but they could also lead to higher inflation and slower economic growth.