As every major decision was made over more than a year, officials at all levels of government acted in ways that contributed to the public health emergency in Flint, Mich.