I know banks are allowed to lend out more than their deposits (like 10x), but exactly how does this work? Do they simply create a debt out of thin air ? Trying to understand this process abit better.

If I was underwater on my mortgage and learned that the bank created the debt out of nothing - I'd seriously question whether I needed to pay it back. What a racket.