The foreign secretary has said it is "difficult to see" how Israel denying aid to Gaza can be compatible with international law.