RAF policeman Cpl Brent McCarthy, from Telford, and Welsh Guard Lance Corporal Davies were just "in the wrong place at the wrong time".
Speaking at the inquest into their deaths at Oxford Coroner's Court, Lieutenant Benjamin Bardsley said he believed their shooting was an "opportunist event" as no one had been told in advance they were going to be in the area.
They died in what is known as a green- on-blue attack - killed by the Afghan personnel they were mentoring. It is also known as an insider threat.
The insider threat at this time was very, very low.
The risk was deemed as low because it had not happened for a long period of time.
More top news
Leicester City have sacked manager Claudio Ranieri less than nine months after he guided them to a historic Premier League title
The Foxes have announced tonight that they have parted ways with the manager who led them to victory in the Premier League.
The club confirmed this evening that they have parted company with their manager Claudio Ranieri in a statement.