What leads someone to spy against their own nation? Motivations vary but tend to fall into one of four categories (money, ideology, compromise, and ego/MICE), as notorious cases demonstrate.