Hard to tell with the facts given.
It seems to leave some doubt if there was, indeed, a terrorist connection.
I might take a guess based on hunches, but officially, I will deffer to the man making the call, the judge in this instance, even though I often have my doubts about the decisions they make.
Without more information, that is my default take.