China and many other countries buy U.S. debt through the purchase of Treasury bonds. Here are the factors behind those purchases.