This is because some of the factors driving inflation in the United States are global, including the disruption to goods production and trade during the pandemic, the shutdown and reopening of large economies, and the more recent disruption of food and energy supplies due to conflicts abroad.
The fact that the experience is so common across countries strongly suggests there are some global factors at work. It is worth noting that these shifts in the stars were not predicted – they have come as a surprise. However, once it became clear that the stars were shifting, the economics profession has become very good at developing explanations for why this has happened.