Both the United States and China face challenges from global conflicts and economic headwinds.