Regarding sovereignty Israel's unilateral actions make Palestine's negligible. Israel expects everyone to recognize its sovereignty on borders itself even doesn't identify. Even Palestine recognizes Israel in general meanwhile Israel does everything in its power to strike down any attempt by Palestine to establish itself as a state under the 1967 borders.
Israel did know it was coming. At least a year before the attack. Hamas didn't hide its preparations. Conducted drills on assaulting towns, Israeli tanks and border crossings out in the open. Throughout that time Israel did not cease bombing Gaza. They could easily target such drills by Hamas being done out in the open in some of the less residential areas of Gaza. They did not. This was not a random person calling the tip line claiming there will be an attack. They they didn't believe them does not make sense. It's also highly idiotic to claim that the intelligence community didn't take them seriously meanwhile arguing Hamas as an existential threat to Israel.
Also killing them either through airstrikes or refusal to reach a hostage deal.
The same guy that has been asking people to keep on funding Hamas. Meanwhile he was asking funding related to UN regarding Gaza to be cut, he was asking Qataris to keep on sending cash to Hamas. He was investing on Hamas to create trouble and wanted it to be something major.
That example doesn't help your case in any way. Release of Sinwar is similar to release of Yasin. OK to release important Hamas members but its not OK to cease bombing of Gaza back to stone age.