Pushed to the limits with Mars-like conditions, a simple organism behaved in ways researchers didn’t fully expect.