True. My wild guess is that India developed Nuclear weapon just to make CHINA think twice before making any moves of attacking India for any reason as they are already Nuclear.
Not at all because of Pakistan. They can be contained with some Kashlinikovs(Spelling may not be right) made by the Afghans. There is a saying that the Dogs which Bark won't bite.