President Joe Biden said the United States “will hold all those responsible to account at a time and in a manner our choosing” after the attack.