What a great question! The writer is akin to a divine being in a text. He or she can do many things to achieve different effects. Let me give a few examples.
First, word order in sentences is flexible. If we change the word order a bit, we can create emphasis. For example, we can say: "I love only you," or we can say, "You, only, you, I love." By putting the direct object first and the verb at the end, you achieve emphasis.
Second, because the way we think is usually linear, by placing certain episodes next to another, we make the human mind see them as related. For example, in John 12 Mary washes Jesus' feet with costly perfume and some criticize her. Judas is the spokesperson here. In the next chapter Jesus washes everyone's feet. The second foot washing validates the first one; it acts as a commentary on the first one. Writers do this kind of stuff all the time.
Third, with the advent of the modern book, the way a book looks also have a way of affecting the reader. We need to remember form is a conveyor of meaning just as content.