OP sold a $1M winning lottery ticket for 11K
https://preview.redd.it/539paj9n4muf1.jpeg?width=1170&format=pjpg&auto=webp&s=7fa2d9b669bf77e7bd3e9164fe73f2126fcb94d9
Sure a lot of investors are involved in both, but most gold investors buy it for security and most investors are not invested in precious metals. When an economic crash happens, most stocks will be falling, people will seek security. Investors, particularly rich ones, will buy gold as they see it as the only thing possibly going up in the near future as all other assets will seem untrustworthy. Also they will expect the government to print mad cash to save the economy, so gold is a great hedge for intense inflation. Silver will probably go up more because gold is largely too expensive for retail investors, who will distrust stocks and get what they can.
Gold is high because a lot of investors are scared of a crash, when the crash starts to happen, they will be scared cut their losses in stocks and invest in gold which is safe. They won't know how far the crash will go so they won't all sell at once.