Inflation has two engines, and they need different brakes.
Demand-pull inflation happens when too much money chases too few goods, for instance after stimulus packages. Cost-push inflation happens when inputs get pricier, such as energy or wages, and firms pass the costs on. Rate hikes work well against the first type; against the second, often only slowly and painfully.
Useful: When prices rise, first ask: is this coming from demand or from costs?
Source: de.wikipedia.org