Nothing justifies Hamas' brutality, but analyzing its motivations and goals is the first step to unpacking the present crisis.