US stocks rose on Friday after the Supreme Court ruled that President Trump's most sweeping "Liberation Day" tariffs are unlawful, saying he lacked the authority to impose them using emergency powers.