Shani Louk (the German woman whose body was videoed in the bed of a Hamas pickup) was an satanist-dabbling hippie, but obviously that detail is in the back seat considering the situation. Her legs were rotated 180 degrees on her body, it's pretty grotesque.
Setting aside the shocker title, settlers and anyone else in the settlements are being massacred. This will most likely make it hard for Palestinian allies to do PR. Rashida Tlaib hasn't tweeted and Ilhan Omar seems to be running with the "condemn atrocities then pivot to 'this raises our awareness of the plight of Gaza'" playbook.
However, Hamas 100% intended to do this from the beginning. This isn't a case of anyone going rogue, it's marauding Muslims given full permission to practice the traditions of their forefathers. Male IDF, for the most part, are being tortured and killed on the spot. Meanwhile, there is a widely broadcasted clip of what appears to be fighters shoving female civilians and IDF in the back of a truck, and we have only heard the beginning of the stories of rape, torture, and murder. This was their plan. But what is their goal? Push back the settlements? Maybe that will work - it's a confusing situation.
This is probably the worst place to get an intelligent or thoughtful answer about that. Hence the fact that your post got 10 downvotes.
The best I can think of, is that Hamas wants to get out all its brutality on one go (Machiavelli's recommendation), while Israel's retaliation will take a while. They may think that opinion will turn as they manage to get uninvolved Palestinians killed. Rashida and Ilhan will ignore this, and then cry bloody murder when a hospital is hit because Hamas fighters were hiding in it. It's all just so predictable.
Like Golda Meir said, the war will end when the Muslims care about their children not dying as much as they care about killing the Jews.