Stocks dipped this week as investors grappled with softer economic data and renewed tariff threats.