The best description of how the theme of a story emerges is:
3. It is introduced and developed over the course of the story.
Themes are often woven into the narrative through the actions, dialogues, and experiences of the characters, and they can evolve as the story progresses, allowing readers to engage with and understand the underlying messages more fully.