A major shift in the flow of money around the globe is driving down the euro at a rapid clip, boosting the U.S. dollar and leaving smaller countries to struggle with the consequence of an extraordinary flood.

A wave of cash is leaving the eurozone, where returns on safe assets are infinitesimal, if they are positive at all, and headed to the U.S. and other refuges such as Denmark and Switzerland.

Europe’s...