Investment banks make investment products for investors. They do keep risk for themselves so you will find when they sell these loans they will often keep a slice, but they only need so much Oracle datacenter loan risk - they want to have free capital to find other opportunities to fund.
Hence the shop sells the inventory as fast as they can, while banks hold safe loans as long as they can unless they believe that aren't safe anymore or that they can make more money with something else.