He walked out because he wanted an extension for himself and his assistants,it was not granted so he opted out.
He didn't want to be a lame duck coach in a contract year with no QB.
Pegs could have saved close to 30m of his money if he had only said yes and the Bills would already be in the playoffs