It is simply supply and demand. When a central bank raises key rates, it makes sense to foreign investors to invest in that currency, therefore demand of it increases, of course the currency appreciates, and vise versa. However during financial crisis, US government bails out the losers, so the fed prints out more USD therefore supply of USD suddenly increased, and USD depreciates. Fundamentally, in Macroeconomics, it is always the money supply on the aggregate level that will determine appreciate or depreciation. Just my two cents though.