This is irrelevant here; the only people buying most of the products that Boeing makes are governments or airlines (many of which have government backing, because countries find it advantageous to have an airline). Without government, there's just no Boeing, or SpaceX, or Lockheed Martin, or Airbus, or...
The problem ultimately goes back to 1996 when Boeing was more-or-less taken over by McDonnell-Douglas management, and quality engineering took a back seat to quarterly results. Everything, from bad QA to "greasing the wheels" with lobbyists, ultimately goes back to someone with an MBA deciding that those behaviors were worth it for the stock price increase.
And to be fair, they were... until they weren't. But by then, the guy with the MBA has either left or divested, and it becomes someone else's problem.
SpaceX's success can be in a large part contributed to the fact that they don't have a bunch of retirement and pension funds demanding a chunk of the profits every quarter regardless of actual market space performance.