Republican candidates in some of the nation’s most competitive races are treading carefully as local industries brace for President Trump’s tariffs.