They are tasked with defending the country from foreign country's attacking with military forces. Not terrorists attacking from within. It is the job of border agents, FBI, CIA, and such to stop terrorists from entering the U.S. and attacking from within.