During the day, figures showed that inflation in the US rose to 3.8 percent in April, the highest level since May 2023. This compares with 3.3 percent in March.
Inflation makes it less likely that the Federal Reserve will cut its key interest rate in June.
Profit-taking, especially in AI-linked technology companies, soon erupted, and their stock prices fell.
In addition, oil prices continued to rise, with no peace deal in sight in the Iran conflict. A barrel of North Sea oil rose 3.4 percent during the day and now costs $107.70.
The stock market's broad S&P 500 index fell 0.2 percent and the technology-heavy Nasdaq composite index fell 0.7 percent.
In contrast, the Dow Jones Industrial Average rose 0.1 percent.





