Why did the Nets fire Byron Scott?

Even though he led them to two NBA finals, I don't think things were working out so well between Kidd and him. They fired him for problems he was causing the team.