Whatever they were before, no reasonable person can consider hamas to be the government of Gaza. Or to be a credible military threat to anyone. They are a convenient excuse to continue the aggression.
FWIW, for much of the early months I would have agreed. Hamas was the de-facto government, and had an obligation to unconditionally surrender. Blending in with civilians can’t be a method to avoid military force.