specifically because India was courting both sides and was communist for a while there. so if India is gonna go commie we back Pakistan. because geopolitics rarely lets you be too picky about who you ally with. After that? either sunk cost fallacy or because we really wanted to invade Iran.