Actually the war crime is Hamas terrorists shooting rockets at Israel from behind its own civilians, as noted by the UN.
Yes, that is a war crime as well.
That may be true taken as isolated incidents. It is curious, however, that neither Israel nor anyone else has attempted to bring the Palestinians to court for this alleged violation of international law. Perhaps the case would not be as cut and dried as portrayed.
For example:
Najd was a Palestinian farm village of about 700 people. Its existence predated the Ottoman Empire.
Before the creation of Israel Zionist terrorist gangs attacked Najd, occupied the village, and expelled the people to what is now the Gaza Strip.
In 1951 Israel built a settlement on the occupied territory of Najd.
What would be a "legal" means for the Palestinians to roust these settlers from this occupied territory?