I'd like to make a technical note about markets because I see this mistake repeated in the comments. The money doesn't have to move out of the US markets to somewhere else for the stock market to crash. It only requires a destruction of confidence. For a hypothetical example, suppose the S&P 500 closes at 7000 on a Friday, and everyone loses confidence in the S&P 500 over the weekend (for whatever reason). The market can open on Monday 3500 with not a share traded before the open (no money was moved out of the market), and investor portfolio values are now cut in half. Since confidence is broken, nobody buys the dip, and the market closes Monday down to 3000.
It's an extreme example, but it's worth understanding the fundamental underpinnings. The markets are a confidence game. Sometimes we forget because we have good reason to be confident (e.g. in the S&P 500) and so it fades into the background that something like this could even happen, but it's not hard find these sorts of events in history.