The head of a controversial humanitarian organisation set up to transport aid to Gaza has resigned over concerns about its independence.