The president’s barrage marked the latest example of his erratic approach to trade policy, which has frazzled investors and ...