I work on a product with a large amount of tech debt, and that debt was almost universally created using the methodology in your first category. Most of it is extremely well documented. That doesn't magically make it not technical debt.
What you’re describing with your product is the fruit of unskilled (amateur) labor.