Passing laws can also easily be overturned and ignored, and usually amount to nothing because the process is so slow.
Trump’s actions (and China’s reactions) have rightfully turned CCP’s into the worlds greatest enemy. It’s not just the tariffs that will force companies to leave China (and they’re unlikely to return once they’ve set up base elsewhere, and once India, Vietnam, Taiwan, etc. establish manufacturing hubs capable of assembling high tech), you also have Huawei not being allowed to use Android and chips with US tech (which will basically kill their phones) and being blocked from building 5G networks (even paying other nations to block them as well), China Mobile being blocked from offering services in US, HK special status being revoked, pushing for China to lose their WTO developing country status, continuously reminding the world that China are responsible for the Wuhan virus. Trump also managed to force Universal Postal Union to allow countries to raise postal rates (something China have been abusing, forcing other countries to cover shipping costs for cheap junk brought on aliexpress), his administration also requested Meng Wanzhou’s arrest in Canada which resulted in China arbitrarily arresting Canadian citizens, he was the US President to speak directly with Taiwan’s President since 1979, he made the largest arms sale to Taiwan in the past few decades, TAIPEI Act and Hong Kong Human Rights and Democracy Act was signed under his administration, and he’s now banning TikTok and WeChat.. I could probably find many more things to add to the list, but my point is that unlike previous administrations (and other countries), he’s actually doing something meaningful to stand up to China.