The reason why spaceflight stagnated for 50 years is because IT came in the middle of it.
All the smart people went to build computers instead of rockets, and now we have smartphones and the internet.
Now that IT is stagnating (enshittification), smart people will probably go back to spaceflight.