With a home loan, the house is the collateral for the loan. If you end up not able to pay the loan, the bank takes the house. That means the bank has an incentive not to give out loans that are worth more than the house. Banks may take a risk, if they think that the asset will eventually increase in value, or other factors, but the incentive is to make sure the asset is worth the loan.
Student loans work differently. You can get a loan for a degree that is BS, and will never give you a return. So much of what students pay for do not give them a greater ability to earn money. The reason a degree requires so many classes, is because its not the students money. If the bank giving the loan had the incentives like a home mortgage has, you would see far fewer loans, and the price of classes go down.