That system is not "markets." That system is the federal government saying "Americans need to be homeowners and Americans need to be college graduates," with no consideration for whether or not the loans will ever be paid back. So then of course banks will say, "uhh, okay, ya I'll give you a loan. The government has my back."
And then when all the people failed to pay back their mortgages, the banks get "bailed out" for doing shitty loans...but they were "bailed out" from the get go, that's literally WHY they issued the loans in the first place. People will say "oh look at these free market capitalist looking for social welfare," but again, these loans were only issues as a means of actual social welfare for the poor, subsidized by the federal government.