To be frank, that factoid makes a
whole lot more sense when you understand who established, funded, supported, and endorsed Hamas in the first place, and most importantly why.
Hint: the Israeli government. The Israeli government did it. Specifically to create an extremist counterpart and rival to the PLO, that would fight against and draw support away from the PLO, while discrediting Palestinian liberation activists as terrorists and supporters of terrorism, and creating a "forever enemy" to justify Palestinian genocide under the auspices of anti-terrorism. Israeli support for Hamas continued until
at least the mid-2010's, up to and including supporting Hamas against Fatah in their elections and post-election conflict, specifically to prevent a more moderate and palatable faction capable of courting favor in the global court of opinion from replacing Hamas.
The Israeli government, and especially the current Likud-led coalition, doesn't want Hamas out of power. They've expended an horrific amount of social, political, and economic capital to build Hamas, and keep it in power.