Some Republicans welcomed the tariffs as a way to protect American jobs. But Democrats focused on the economic pain likely to be felt by consumers.