* To make the character more relatable. When readers don't know the character's name, they can more easily project themselves onto the character and imagine themselves in their shoes. This can make the story more relatable and immersive for the reader.
* To focus on the character's actions rather than their identity. By not naming the main character, the author can focus more on the character's actions and motivations, rather than on their identity. This can help to create a more dynamic and interesting character.
* To create a sense of anonymity. In some stories, the main character may be intentionally nameless in order to create a sense of anonymity. This can be done to protect the character's identity, or to make them more representative of a group of people.