You can't answer "why" questions by looking directly at the "what." You have to understand the situation, and see how a thing fits into the story in order to understand its purpose. When asked about the purpose of a sentence, don't just think about its content. Look at how it advances the overall purpose of the text, and how it relates to the text immediately before and after.