The Hamas leadership has said that the objectives of the attacks are ending “Israeli violations”, securing the release of Palestinian prisoners, and “returning to the project of establishing a state”
Israeli violations can be understood to main airstrikes and other military action against Gaza, though it's unclear if it includes the blockade.