Saudi Arabia and Pakistan share much in common. Each country considers itself at the vanguard of the Muslim world, and both are home to predominantly Sunni populations. In spite of their similarities, however, the two countries are struggling to forge closer military ties. When Saudi Deputy Crown Prince Mohamed bin Salman announced in December 2015 that Riyadh would lead a military alliance of dozens of Muslim nations, most of them Sunni-majority countries, Pakistan was surprised to find its name on the list. Even so, it agreed to participate in the alliance, short of committing its troops to fight for a foreign cause. On Wednesday, Islamabad made a surprising announcement of its own: It was reported that Pakistan's former chief of army staff, Gen. Raheel Sharif, refused to accept his appointment to lead the alliance unless Iran was included in the group. Though Pakistan lies to the east of Saudi Arabia...