How does the Stock Market Crash?

When a stock market takes a dive, prices of companies stocks go down causing a stock market crash. The recent recession made a crash on the stock market.