Inflation was driven primarily by low interest rates, very generous financial support/relief(rent moratorium, student loan pause, bolstered and extended unemployment), and the ability for most white collar workers to keep on working from home.
Supply chain issues didn't help, but it's not even clear if 2019 supply chains would have been able to keep up with the insane consumer demand of 2021.