Analysts and officials warn of threat from tariffs and weak consumer demand