Israel, under increasing pressure to end the war in Gaza, has said recognising a Palestinian state “rewards terrorism”.