The dollar's surge was driven by inflation data, which bolstered market expectations for the Federal Reserve to begin raising interest rates by year-end.