I was thinking the same thing.
Debt is perfectly good metaphor for the collection of issues described. Just like one can get into financial debt via student loans or reckless credit card spending, tech debt can be accrued many ways.
Additionally, talking about the origins of tech debt also misses one big thing - many of us primarily work on other people’s code. We inherit the debt, so it doesn’t matter how it gets there.