A federal appeals court ruled on Friday that most of Trump's tariffs were imposed unlawfully, upholding an earlier decision by the Court of International Trade.