There was a time when Hamas was less important and had less followers. However, the U.S. and Israel wanted Democracy to be demonstrated. Since the moderates of the P.A. did not succeed, the occupation and settlements continued, people elected Hamas. One reaps what one sows.
Jerusalem suburb of Even Sapir evacuated as wildfire spreads (Haaretz)
from the article: Palestinians: IDF arrests Hamas MP in West Bank