A project manager inadvertently laid this out for me when I was new in my career; he didn't mean to put it like this, but this is what came out. (Note that I'm a software developer, and at the time the software I wrote was not "shelfware", but rather installed into big enterprises' data centers. Pre cloud)
NO ONE wants software done right the first time. Because, when you slam the happy paths out there for the customer as fast as you can:
* Sales wins because they can claim "Feature X" being sold and get their commission
* The customer wins because they get to complain about x or y being bad, incomplete, or whatever they want to whinge about and feel like they're part of the solution
* Customer Support/Sales Engineering/etc wins because they get to appear to be "responsive" to the customer by quickly reorganizing ongoing work to take care of the "urgent need"
* The Project Manager wins (2x!) because they can now a) do the same "response" dance for the C-levels, and b) berate the software development staff and show their authority and working under pressure skills
* Software Development wins because they can now work on the secondary features, fixes, "skunk works" tech debt, etc. since this is now more important.