The president criticized the justices over their recent ruling overturning his tariffs during his State of the Union address.