GDP covers a broader range of transactions, and it can be useful to look at it as an absolute rather than just relative to inflation. Right now, a lot of money is being spent on data centers, and (assuming you like data centers) that's an investment in future economic growth.
Inflation, by contrast, fluctuates. Right now it's driven heavily by oil prices resulting from the war in Iran. Hopefully that is temporary.
There are a lot of things wrong with GDP as a measure, so you're right to take this with a grain of salt. But assuming GDP means anything at all, having it be less than inflation is not a problem. An absolute contraction would be more worrying.
In this case I'm not convinced it's a good sign anyway. As I just said, some of it is consumers spending more because they have to -- not a good sign. And data centers as an investment... well, I'm not crazy about that, either.