It's similar to the logic behind anti-trust actions against monopolists. If the playing field isn't level, then the USA government steps in to level it.
(Whether BYD is subsidised or not is another question, but the above is the logic of protecting local industry.)