The world's two biggest economies are locked in a trade war that has caused turmoil in global markets.