Rising borrowing costs as the Federal Reserve battles high inflation has cooled demand for goods, which are typically purchased on credit.