Chinese help for Pakistan Railway worries India

And why not. We are a responsible member of the international community with allies across the globe. Why shouldnt we allow our allies bases?