That is a good point.
However, business loans are given by private institutions that vet the borrower and determine the risk of default. They then decide to issue the loan or not. Since 2010, bankruptcy rates of businesses have steadily fallen to near all-time lows.
https://tradingeconomics.com/united-states/bankruptcies
Student loans are given by the government with no vetting and all loans are qualified. Families who would never have qualified before, are now given blank checks.
Prior to the government taking over all student loans, banks would vet the borrower and determine the risk. The default rate was much much smaller.
The result of the government taking over student loans with no vetting is that the default rate has grown astronomically.
The second consequence of this is that colleges have raised their rates since they now have a much larger supply of students. More students and less competition mean they can charge whatever they want. Law of supply and demand.
Another consequence is that some students, who should not be in college in the first place, now major in easier subjects that have little chance of providing meaningful employment upon graduation. Therefore it makes it harder for them to pay back their loan.