Hamas joined the wave of international reactions to the recent developments in Latin America on Saturday, issuing a sharp statement condemning the US military strikes on Venezuela and the abduction of President Nicolás Maduro.
The movement stated it denounces “in the strongest terms” the US operation, which resulted in what it characterized as the “kidnapping” of Maduro and his wife, Cilia Flores.
Hamas argued that the military action is not an isolated incident but rather an “extension of unjust American policies.” of Venezuela’s Maduro by U.S.

I wonder if it would make it more unpopular if they supported it, rather than condemned it
It would make it less popular because Hamas has tremendous support in the Global South.