A research rock star exited a Bezos-backed startup to join a nonprofit. Here’s why.