Stock and bond markets have been roiled by concerns about trade tensions and the economy.