In a reversal, China is increasingly lending to higher-income countries over developing countries, researchers at the U.S.