It seems that the author of the story has taken on the role of the “omniscient narrator.” This is a useful device. But it is a device used specifically in fiction writing.