The Federal Reserve, like many central banks, sets policy with an eye on the domestic economy. Its battle to control prices is causing pain abroad.