North American markets rally after enduring deep hit due to escalating U.S.-China trade war