For decades, Hamas has understood something essential about modern conflict: wars are no longer decided solely by military strength but by global perception.