Mohammed, aged five, and Othman, aged seven, were killed alongside their parents, the Palestinian health ministry says.