CIA and US intell ops gave Hillary's emails to Wikileaks . They did because they were concerned about her rampant corruption and mishandling of classified information.
This is backed up by British Ambassador Craig Murray. He was told by operatives on the ground that the leaks came from official circles in Washington DC.