The UK, France and Germany have warned Israel it risks breaching international humanitarian law by preventing aid entering Gaza.