A weakening dollar is a bit of a surprise, as analysts expected the currency to strengthen because of tariffs.