The IDF said the two terrorists had advanced attacks against Israeli troops and civilians throughout the war, and worked to restore Hamas's military capabilities.