Why not make software like every other product?
Software somehow has magiced itself to a position that you 'buy' it but the seller has no responsibility for it doing what it says it will. Licences, get out clauses, limited liability, 'as is'... all these things mean that there is no incentive for software sellers to make it work well, because they don't bear the cost if it doesn't (generally). EVERY OTHER PRODUCT I buy has the requirement to be fit for purpose, which includes doing what it says it will.
I bought it from YOU, YOU bear the responsibility that it does what you promised it does, irrespective of how that code was produced.
For example: Windows has always promised wonderful things, with T&Cs stating that none of it is true. The should HAVE to say 'well we tried our best, given the constraints of time and interest, and its a bit shit, lots of things won't work the same way 3 times in a row, and we've no idea if it's at all secure' in the spirit of being honest.
To be clear, I'm not talking about the FOSS bits, because they aren't bought, I'm talking about the things that people actually pay for.