NASA describes spacewalks as “the most challenging task for an astronaut,” with rigorous training sessions involving lots of time inside a large pool.