Israel is breaking international law by stopping aid into Gaza, the UK government has said for the first time.