When investment banks were pulling back from the market for risky loans, private credit was ready to step up and make bigger loans. That attracted a lot of attention, and a lot of new funding.