I am thinking this is a rhetorical question. But the simple answer is there are three reasons.
First before jumping into these reason let me say, no two Chiefs are the same.
First a compromised person like Zardari is a dealmaker. And Mil establishment constantly makes deals. They like their evening rounds and are constantly in the business of making deals. Whether it is for financial purposes, whether it is for local political purposes or whether it is for foreign political purposes. A person like Zardari gives them leverage.
The second reason is a person like Zardari looks the other way when it comes to corruption. The military ecosystem is filled to the brim with corruption. It is deeply engrained everywhere. It is found in smuggling routes, it is found in Coast Guard "misses" for Sea smuggling, it is found is land leases in firing ranges, it is found in land leases for Shaheed lands for farming, it is found in Banking loans, it is found in procurement, it is found in land allocations and allotments. Wherever you look there is mis-management, mis-appropriation, and outright fraud. It is often hidden as good old patronage. Doing favors. But underlying all of it is fraud.
Third and final reason is such leaders are palatable for foreign powers. Especially one power. These leaders are pliant not only for the Institution, but also for these foreign powers. Which then keeps Pakistan in a subservient state working for either local masters, self interest, or foreign powers. Pakistan has seldom worked for itself or its people.
These are the reasons we are given the prizes of being ruled by men like Nawaz Shareef, Benazir and Zardari. And the minute a new force comes in that threatens this structure, the whole system works overtime to undermine it.