I was reading about Gwadar a few years ago, when it was being built. China has long-range strategic interests in that area -- both for access to energy supplies and for trade. They see it as reconstituting the ancient Silk Route. And no doubt it also ties in with their growing investments in Africa.
The Chinese are playing chess, and are looking to control the board. Meanwhile, the US spreads itself thin trying to dominate everyplace at once.