Boeing (and all manufacturers historically) gamble with people’s lives. They become aware of issues in many cases and won’t fix them unless issued an air worthiness directive by the FAA (NTSB has no authority to force a manufacturer to implement fixes even if they identify them and report them).
It is costly to ground entire fleets to implement fixes or in some cases reengineer entire parts - so they practice tombstone mentality - where they only act if enough lawsuits force them to (going to cost more than voluntary fixes) address the issue.
It is common practice to blame things on pilot error and to instead ask pilots to remember more things during training instead of implementing actual fixes that don’t require pilots to face the situation in the first place. But if you look at the things that cause issues, a lot of times the procedures to address them properly are complex and not easy to remember. Add to that the stress of an actual emergency and the chances of acting exactly as you expect a pilot to act drop even further. But hey, as long as your life is less worthy than the fix - the show will go on.