This evolving story triggered a wave of liquidations in a broad range of markets. Both the USD and JPY gained against many instruments for flight to safety reasons as the two have extensively been used as funding currencies for all manner of carry trades. When institutions sell equities they use the proceeds of those sales to pay back the USD or JPY they had to borrow to buy them.