Hamas hopes that by continuing to fight Israel it will boost its domestic and regional political standing.