Monetary inflation affects all goods more or less uniformlyMoney being created is like pouring water into a pool - it creates ripples outwards. Eventually, if you stop, yes the surface of the pool will become calm and the pool will be higher. But whilst you're pouring, the volumes are not even.
These days, when the government creates money it doesn't put that money into everyone's bank account overnight. When was the last time you got a cheque from the government labelled "new money"?
Instead the central bank engages in various forms of manipulation, like via the "QE" programmes that involved asset purchases. So, the prices of certain financial assets go up. They also purchase a lot of government bonds, or that money eventually makes its way into corporate debt. And what do governments do with this money, well, they often spend it on things like subsidising mortgages, or subsidising private banks (via bailouts), or healthcare, or education, or paying a large staff of government workers, or buying military hardware, etc.
So you go look at what's gone up in price very fast over the years and hey, look at that, it's the stuff near the centre of the pool. Things that governments tend to subsidise a lot or things that people feel they have to buy regardless of cost, like education, healthcare, homes, etc. The money pouring into the system ends up stacking up in a few places, it's not evenly distributed.