From 1999 to 2018 colonial population in the West Bank grew from ~177000 to ~430000 or so. Since the current israeli government took power they've massively accelerated colonial efforts in the West Bank and East Jerusalem, and also moved away from military administration in a blatant rejection of international law. I.e. before the response from Hamas in October 2023.
Hamas are popular because they've achieved results, and are perceived as relatively moderate and flexible in politics. Their main competitor, PIJ, disavows parliamentary politics entirely as long as the occupation is in place, considering it a waste of resources and naive pandering to foreign governments that they have no faith in.