The stock market has been volatile lately as investors fret about tariffs, trade wars, inflation, and a potential recession.