In The Past Few Years Whenever A Bad Economic Number Came Out The Stock Market Tanke 3502075

In the past few years, whenever a bad economic number came out, the stock market tanked, but the USD appreciated. Why?