The spokesman emphasised that Israel had yet to provide such an explanation.
Before Israel tightened its blockade in March, around 500 trucks were entering Gaza daily.
The army said most of those detained were released following on-site questioning.
Half a million people in central Gaza are at risk of losing access to medical care in the coming hours.
The Israeli military has once again called on civilians in Yemen to evacuate several ports, after it intercepted a missile launched by the Houthi militia.
Israel accused Hezbollah of violating a ceasefire agreement that had officially been in place since late November 2023.
One of the assailants was armed with an assault rifle and the other with a knife.
The Israeli army had stepped up operations against militants in the northern West Bank since January.
Al Jazeera denounced the decision, calling it “an attempt to prevent coverage of the escalating events witnessed in the occupied territories.”
Defence Minister Israel Katz announced that he had instructed the army to “take decisive and uncompromising action” in response to the incident.
