Because you must really be confident in your firmware before you start disabling debug interfaces. Most people aren't. They see more value in being able to fix their bugs after the fact than locking out potential hackers.
Imagine just receiving a batch of 1000 scooters with a botched firmware, which you must write off now because you can't reprogram them due to the disabled SWD. This happens more often than you might imagine.