Aging infrastructure, short-term thinking, and ambitions that far outstrip its funding are just a few of the problems threatening the future of America's vaunted civil space agency, according to the National Academies of Sciences, Engineering, and Medicine.
Part of it is NASA struggles to pay competitive wages versus what some technology backgrounds can get you in the private sector. I know several people who work there and I used to work the launchpads myself until I got a better job.