A stock market crash happened in late 1929. That didn’t mean we had to have a decade-long depression?
The stock market crash was the bursting of a speculative bubble. Speculation inflated the value of many company's stocks far above what their assets were conceivably worth. Additionally, the stock bubble encouraged banks to take money out of low-risk securities and put them into high-risk securities. It was much like what happened in 2008, only worse. Or do you think that tariffs caused the 2008 real estate market collapse too?