Remember how before all of our consumer electronics became Chinese they used to be Japanese. Also remember how most cars that work in america are also Japanese. We have been running a huge trade deficit with Japan since the 80s.
In fact I am surprised that China overtook Japan already.
I don't think the holders of US debt are related to trade. I think most US securities are held by governments and institutions as reliable, steady investments.
Actually I think it might be both. As I understand it, the US tends to pay for imports in USD, which it can do since it is the world's reserve currency. Trading partners then invest their USD trade surpluses back in US securities, I would assume at least partly to avoid affecting the values of their own currencies.
Wikipedia's article on the rise and fall of the Bretton Woods system is fascinating reading for those interested in the origins of the current situation (although it's also long and dry).
In fact I am surprised that China overtook Japan already.