The stock market tumbled about 4% after President Trump imposes higher than expected tariffs, signaling slower economic growth and higher inflation.