“Consumer demand” has nothing to do with causing inflation. It does raise prices but that is a result of there being more money created and flooding the system. The increase in the money supply is entirely what inflation is.
In fairness, increased consumer demand has accompanied the current inflation, but is of course not the cause of it. Both the inflation and the increased consumer demand have the same ultimate cause, government spending. Government spending, in the form of stimulus checks and increased unemployment benefits, resulted in consumers having an increased amount of money to spend, resulting in the observed higher demand for consumer goods. Squashing inflation most likely will be accompanied by lowering this demand since spending reductions will reduce the amount of money consumers have for discretionary spending. I’m not saying that we shouldn’t reign in inflation, but as usual, the cost of misguided government policies will be borne by ordinary Americans