Stock markets in retreat as China-US tensions return to fore