>>518650536
China is building infrastructure in Pakistan. It wants to ship goods over land to ports on the Pakistan coast. Also taking oil deliveries there and piping it to China. This route avoids the straight of Malakka and helps guarantee energy and goods can still flow if anything should happen there to block shipping.
Pakistan is facing internal rebellion in Balochistan (South-West), Skirmishes with India in Kashmir, and now skirmishes with the Taliban from the West. India is concerned about China encircling it with bases. Saudi Arabia has historical influence in Pakistan, they want them as an ally against Iran in case of a conflict. Qatar probably wants to stop Pakistan facilitating Iranian sales of oil and gas also.