The laws do not immediately take effect, but Israel’s international allies said they were deeply worried about their potential impact on Palestinians as the Gaza war’s humanitarian toll worsens.