A rough day for the stock market