The S&P 500 and the Nasdaq have nudged one-month lows as investors put off buying amid rising consumer and political uncertainties.