The Israel Defense Forces said Tuesday that 21 of its reservists were killed "during operational activity" in the central Gaza Strip a day earlier.
An "RPG missile was apparently fired by terrorists" at an Israeli tank that was securing an area near the Gaza-Israel border where Israeli troops were rigging buildings with explosives for demolition, according to IDF spokesperson Rear Adm. Daniel Hagari.
"At the same time, an explosion occurred in two two-storey buildings, which collapsed as a result, while most of the force was inside and near them," Hagari said in a statement Tuesday. "The buildings apparently exploded as a result of mines that our forces planted in them and were about to explode the buildings, the terrorist infrastructure in the area."
The IDF is "investigating the details of the incident and the cause of the explosion," according to Hagari.
"War has a very painful and heavy price," he added. "The dedicated reservists, who stood up for the flag, sacrificed the most precious of all, for the security of the State of Israel and so that we can all live here safely."
Three more Israeli soldiers were killed in a separate incident in the southern Gaza city of Khan Younis on Monday, bringing the toll to 24, according to the IDF. It was the deadliest day for the Israeli military since the war with Hamas began on Oct. 7.
Israeli Prime Minister Benjamin Netanyahu called it "one of the hardest days since the war broke out."
"We must learn the necessary lessons and do everything to safeguard the lives of our fighters." Netanyahu said in a statement Tuesday. "On behalf of our heroes, for our very lives, we will not stop fighting until total victory."
"Our hearts are with the dear families in their most difficult time," Israeli Defense Minister Yoav Gallant said.
He added, "This is a war that will determine the future of Israel for decades to come -- the fall of the fighters is a requirement to achieve the goals of the war."
A total of 221 Israeli troops have been killed in Gaza since the ground operation began late last year, according to the IDF.
-ABC News’ Yael Benaya, Jordana Miller, Dana Savir, Joe Simonetti and Morgan Winsor