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
A transgender beauty queen hopeful claims she was attacked outside a pizza shop by men who didn't realise her gender.
Henry Davies, 4-years-old, saved his mum's life by dialling 999 after she collapsed at their family home.
Women who take newer brands of the pill are almost twice as likely at risk of blood clots than using older types, a new study has found.