https://www.reuters.com/business/autos-transportation/us-lim... ("US to limit Chinese firms, battery parts from winning EV tax credits")
(My take: It's just good policy considering global decoupling of trade and deglobalization in general; you must build to own your future and destiny, we are learning this the hard way after offshoring for decades)
There are alternative configurations for globalization other than: everybody buys everything from one country.
But im not a libertarian on the internet so what do I know.
Your complaint should be with the legislative branch, not the executive. The Inflation Reduction Act of 2022 added requirements on the battery material sources to come into effect 2024. The biggest problem for most EVs is that the act requires the materials not to come from a "foreign entity of concern" (FEOC) to qualify for the rebate. China is designated as an FEOC and most EV batteries have materials from China.