Citizens of Gaza are not citizens neither subjects of Israel. Israeli citizens vote on Israeli elections, PA citizens vote on PA elections and Gaza citizens vote on Gaza elections. Israel doesn't occupy Gaza and doesn't control all the borders either — that's Israel and Egypt. And both of these countries decided to close borders and install maritime blockade only after Hamas stated indiscriminate attacks against civilians, which happened after it came to power.