I've read conflicting opinions about the effect of Trump trade wars (pre COVID), how the pandemic was handled pre Biden, and how the pandemic was handled post Biden, on inflation.
I much doubt economits would seriously put 100% of the blame on any particular side.
Hence the "in part". Which, I repeat, is a way to acknowledge the complexity, and move on to the interesting question : whether it's your fault or not, what are you going to do to _fix the problem_.
Next election is in two years, and I suspect neither housing prices nor groceries are going to fall any time soon - so policy proposals are not going to waste.