Lending thrived in 2021 only to get hit the following year with a crisis stemming from the bankruptcy filings of FTX and Three Arrows Capital.