Stocks were rising on Thursday after a U.S. court blocked many of President Donald Trump’s sweeping tariffs, though the gains got less strong as trading progressed from Asia to New York.