Without being there at the time the decisions are made, a lot of it appears to be laziness to someone looking from the outside.
It could be laziness, but a lot of times, I found that it was time constraints to deliver and fix it later, but later never comes or it's not important enough to revisit and change.