WB didn't kick Snyder out; his daughter died and he took time to deal with that.
Replacing Zack Snyder with Joss Whedon was always a dumb idea though. They don't mesh at all. But I guess WB's thinking was that he directed Avengers, and didn't think there was anything more to it.