Why consumers took on more debt during the pandemic