Fiction is a story that an author wants to tell, for whatever reason. It doesn't necessarily follow rational rules, it follows the rules of story telling. Fictional people do things because it makes the story more interesting, not because they have some internal logic to their actions.