What is the author's purpose in creating tension in a story?

By creating tension in a story, the author places an emotional interest on the reader. The reader may now wish to view how the characters in the story react to this tension. If the tension in the story is created by one of the major characters, the reader will want to know why this is happening.