This, but what's the rationale for both countries?
Pakistan - To ensure flow of Indus, Jhelum, and Chenab, get military tech from China, ensure its survival
India - Destabilize Pakistan so that Chinese projects fail, ensure American investment, contain China