I've come across some criticism of the gospels as historical accounts based on the author’s ability to know certain events that seem unknowable, or at least hard to know, like the quote below:
Mark’s narrator can describe the inner feelings of the characters – their compassion, anger, fear, sadness, amazement and love. The narrator tells when characters are dazed, stunned, puzzled, pleased, terrified or dejected. The narrator also tells the audience what the characters are thinking, for example, that the opponents think Jesus is a blasphemer or that Pilate knows the high priests are envious. The narrator explains why characters do things and when characters do not understand and when they do not know what to say.
Source: Quora post by Dick Harfield referencing Mark as Story: An Introduction to the Narrative of a Gospel, 3rd Ed (2012) by Rhoads, Dewey and Michie
When a narrator is omniscient, audiences tend to be unaware of the narrator's biases, values and conception of the world, and therefore tend to trust the narrator as a neutral, objective teller of the events.
Source: Google preview of Mark as Story: An Introduction to the Narrative of a Gospel, 3rd Ed (2012) by Rhoads, Dewey and Michie, Chapter 2: The Narrator, Section "The Narrator's Point of View", Subsection "The narrator is not neutral"
Whilst this quote pertains to Mark, there are multiple instances in the gospels, or even Acts, where things appear to be written from an omniscient narrator perspective, or at least written regarding things the disciples weren’t present at.
Consider:
“Then Herod called the Magi secretly and found out from them the exact time the star had appeared. He sent them to Bethlehem and said, “Go and search carefully for the child. As soon as you find him, report to me, so that I too may go and worship him.”” Matthew 2:7-8
“About that time there arose a great disturbance about the Way. A silversmith named Demetrius, who made silver shrines of Artemis, brought in a lot of business for the craftsmen there. He called them together, along with the workers in related trades, and said: “You know, my friends, that we receive a good income from this business.” Acts 19:23-25
There are multiple other examples, such as when the gospels record the discussion of the Pharisees amongst themselves, etc.
I have heard that the gospels aren’t verbatim transcripts, but there are just some events where it seems hard to believe that the writers could have even known what happened, or even what was said.
So then, how are the gospels able to record some events like omniscient narrators when they would not have even been present, let alone be able to record the private discussions of individuals?
How would one refute the quote posted above? Does the (potential) use of omniscient narration impact the reliability of the gospels / their ability to be historical biographies?
Please note: I’m not saying there is or isn’t omniscient narration, but for the purpose of asking about it, I've included it in the title of my question. Irrespective of whether you think it is omniscient narration or not, there are some private events in the Bible that are described by the authors which seem difficult for them to be present at.
I'm not asking this question to be critical and I understand it may be broad. But, I guess I just want a clarity on how certain events in the gospels can be recorded if the disciples weren’t there?