Boeing used to be a great place to work: great benefits, easy promotions, cutting edge work. My dad spent his whole career there, 32 years, retiring in '79. My sister worked there for about 3 years right out of college.
However, Boeing lost its Congressional supporters (Warren Magnuson and Henry Jackson) in the early '80s, the SST was cancelled in '71, and NASA contracts dried up, the Space Shuttle program (and everything around it) was mothballed. Boeing went through several management changes, to try to stay profitable, leading to several disastrous errors (outsourced parts not fitting, 737-Max instability) and most union contracts being nullified or weakened to the point that most of the talent left. The company now, from all reports, is a shambling mess.
They cannot compete with Airbus (the French-English conglomerate which is underwritten by both governments) or a couple of other commercial airplane companies, and of course there are still several hundred jets mothballed in the Arizona desert. Newer jets are more efficient, but also way more expensive. When I flew, I tried to get Airbus planes. They're much more comfortable and smoother and quieter.
Circumstances and poor management.