OSAKA, Japan — Japan has joined a growing list of nations, including Canada and Spain, that are assembling aid plans to help blunt the domestic impact of President Donald Trump’s tariffs.

On Tuesday, Japan approved a $6.3 billion spending package to “fully support” businesses and households adversely affected by the tariffs, Cabinet Secretary Yoshimasa Hayashi said in a briefing. The funds will bolster the finances of small and medium-size businesses and subsidize household energy costs, he said.

The measures underscore the precarious position the Japanese government is in ahead of an upper house election likely to take place in July. On top of managing an expected economic slowdown caused by U.S. levies, officials are dealing with public anger over higher consumer prices and growing pressure to reduce Japan’s ballooning government debt.

Trump has paused a so-called reciprocal tariff of 24% on Japanese goods until early July. But the country’s automotive sector, the backbone of the economy, is already reeling from a 25% U.S. tariff on finished automobiles and car parts.

Earlier this month, Toyota Motor, Japan’s largest company, projected a $1.3 billion hit to its profits for April and May alone because of the tariffs. Honda Motor and Nissan Motor have similarly forecast sharp declines in their earnings. Nissan is considering closing two plants in Japan as part of its restructuring efforts. The automaker is also planning to shift some production from Japan to the United States to skirt the tariffs.

Economists have estimated that the higher auto tariffs alone could significantly curtail Japan’s economy this year. Factoring in the wider disruptions caused by global trade tensions, officials have warned that overall growth could be more than halved.

The ruling party’s stimulus package lands as Japan is grappling with debt, which ranks among the heaviest for advanced economies. In recent months, officials have characterized both the nation’s burgeoning debt and U.S. tariffs as reaching crisis levels.