How did compaines go bankrupt in the Great Depression?

one word......stocks.