Against the backdrop of high interest rates and inflation, consumers have held off buying homes or pursuing bigger renovations that typically need financing. This pullback in spending has hurt Home Depot and other retailers, a reversal from the pandemic when people upgraded their houses.