Hamas's rise to power has pitted its loyalists against the once dominant Fatah, which still occupies the presidency in a divided Palestinian government.