NASA’s human spaceflight chief just resigned, and the timing couldn’t be worse