After being dealt blow after blow during Trump's trade war, markets finally found a reason to rise.