When banks end up owning properties is usually when there are no bidders; the starting bid is usually either the amount of delinquent debt or the total of the debt and any other costs that can be charged to the borrower. The bank has effectively shown that the house is worth less than what was owed at that point in time, and then it's their job to get rid of it (in some cases a bit of staging will go a long way, in others, they'll have to sell it for much less or hold it for a long time or both)
As far as I'm aware there's no law demanding they turn around and sell, but it makes a lot of sense to.
There are practical problems relating to specialization in the industry; there are no participants at this time who could play the proposed game. There are salespeople-transactors companies who need to turn their working capital over every month or so; the people who sell you a loan for a commission and then sell the loan to a national servicing company next month, they need to turn that working capital over every month or two or they go out of the business of selling loans because they run out of cash to turn over in new loans. Meanwhile the national servicers specialize in logistics, sort of, by trying to optimize cheap and poor customer service to turn (junk) bonds and such into the largest income stream they have; they optimize all internal processes on being identical and simple and fast and dumb. They're in the business of raising money, buying lots of small income streams, then milking it for all its worth via monthly payment transactions and trying to branch out into long term real estate investing is problematic for that business model level. Why don't restaurants own farmland, because skilled farmers and skilled restaurant operators usually aren't the same people so two people trying to do that would overall make far more money if one tried to be the farmer and one tried to be the restaurant chain owner.
There are real estate investment trusts but they tend not to be a tiny department of a sales org or a servicing org. REITs tend to be stereotypical investment organizations that happen to buy real estate and derivatives and holding companies rather than Apple or Google stock; not a desk at your local bank branch or a dude in the mail room at a national service center.
The closest analogy is probably pawn shops. Those guys will sometimes do weird things to optimize return on their collateral. Its probably a good thing they tend to be smaller and less centralized than the world wide megacorporate financial system.
That is a significant misunderstanding of fractional reserve banking. Banks can only lend money they have, i.e. that customers have deposited. They can't just invent money to lend. So, a bank with $100,000 in cash can only make loans totaling $90,000 with it (assuming a 10% reserve requirement).
By financialising the mortgages and other loans, the banks can now treat them as if they were lendable cash. A bit like they can treat gold bullion like cash.
Is this just what they do as it makes financial sense to them, or is there some law or similar prompting them to do it? I was wondering if holding on to strategic property would be beneficial. But if they are immediately selling all property that is repossessed then it doesn't sound as ominous as I imagined and actually sounds like the most beneficial thing that could be done, for the market and potential buyers.