If anything, it's a huge anomaly that this facility isn't routinely available to retail customers, and an indication of lack of competition within the banking sector in many countries.
On a per consumer level a variable rate is much higher risk, even in countries with highly variable inflation rates some fixed form of incomes will not inflate uniformly with the economy and a variable rate would increase the rate of defaults. On the other hand the loan terms and risks are determined once at loan origination where it's quite feasible for a financial institution to hedge out any long term inflationary risk.
You can go longer but the bank will factor that with a higher fixed rate to offset variation.
I'm honestly surprised that became the standard, it seems like a lot of risks for the banks for what they're getting. I think it has something to do with Fannie Mae and Freddie Mac preferring to buy some mortgages and absorb the risk?
And of course the 2008 'financial crisis' didn't really result in 'stable inflation' in the US within the last 40 years.