Flint's basically bankrupt and the state wants to delay the inevitable, so they installed an "emergency manager" with all the powers of mayor+city council (but accountable only to the governor). The emergency manager wanted to save money by using a local source of water instead of paying Detroit for water. The Michigan Department of Environmental Quality basically knew that the water was so acidic that it would eat through the biofilm on the pipes and start leeching lead (and discussed as much in emails), and gave incorrect advice on measurements to the city to try and hide the problem.
http://www.eclectablog.com/2015/10/interview-flint-mayor-day...
http://michiganradio.org/post/whos-blame-flints-water-crisis...
http://www.mlive.com/news/flint/index.ssf/2015/10/emails_sho...