outstanding means something above or outside of what's normal or accepted, like standing out. In terms of people, it can mean someone who's outside or above the norm, which is a good thing. But when it comes to debt, it means you're standing outside of a zero-dollar balance, like a deficit. So it means you owe money.
Sorry if that doesn't make complete sense, but that's the best way I can relate the two meanings.