Why did cm punk quit WWE?

He got frustrated with the constantly poor booking and part timers like Batista coming in and taking the Main Event just because they are friends with the COO.