In the chapter The Second Renaissance Part I of the series The Animatrix, the humans first engage in widespread genocide of the sentient machines due to a machine (B1-66ER) killing its owner in self-defence. The surviving machines then escape into the desert, where they found the city 01.
However, the machines later begin to manufacture goods, which they then use to trade with the human-ruled countries. Due to the large capital flow to the machine, the credit rating of the human nations fall, leading to them declaring nuclear war on the machines.
What is perplexing about the story at this point is why the humans would want to trade with a country that they have recently attempted to genocide? It would be along the lines of Iran getting a trade deficit due to excessive trade with Israel.
Is there some plot device that I am missing in this case? Why would humans want to engage in trade with an entity that they have attempted (but failed) to wipe off the earth? Couldn't they just make trade with 01 illegal instead?