It happened because gun laws permit individuals with highly questionable backgrounds, including a man twice investigated by the FBI for terrorism links, to purchase firearms designed specifically to kill human beings.