Analysts believe Hamas may now be facing its most serious internal challenge since taking control of Gaza nearly two decades ago.