What was part of the reason for the stock market to crash?

Greed!

People borrowed money to buy stocks. When stock prices dropped, these people couldn't pay their debts and had to sell their stocks and incurred great losses.