I think people are missing what is probably the most basic point here. I asked up-thread - why in the Ukrainian conflict, are women and children allowed to leave, but men aren't?
It's not just that women and children are more vulnerable. And it isn't just that men like fighting and are war-mongers, or that they aren't scared and even vulnerable. Being captured and tortured isn't really that much better for men, and it's not like systematic rape of male soldiers isn't a thing too.
The fact is that the reason Ukrainian men are not allowed to leave, is that this is seen as a dereliction of their duty to fight to protect their people. If they are a member of the state, claim its care and name and citizenship, they are considered to have a moral duty to protect it when the chips are down. Not duck out and run and leave others, some professional fighting force, to do the work for them.
We aren't so used to this thinking in the west, but the legal capacity to enforce this kind of thing where circumstances warrant exists here too. And historically when things get that bad, people have very strong feelings about people who try and get out of that kind of duty.
The role of women has never been seen as the same, and it's mainly because women are mothers. Without mothers, there is not a people to fight for, their is no future existence. So yes, we do see occasional women who directly fight, particularly ones without children. And along with caring for children, women often are the ones who keep the infrastructure going, which is in a way a similar role.
In a total war where people want to really wipe out the enemy, or subjugate them, they are not going to just want to kill soldiers. They want to subjugate the future as well, the women and kids. A conflict where that is going on is particularly nasty. It's not a "professional" war with neat political boundaries, the stakes are their existence as a people, as a nation state with an identity.
That's the kind of conflict going on in Israel and Palestine, and between Ukraine and Russia. It's not neat, and can't be, as far as those involved are concerned the stakes are too high. And under those circumstances you see a very basic division in the role of the sexes emerge. Neat professional wars are actually the exception.