How does the sale of advanced military technology to neighboring countries influence India's strategic security and diplomatic relations?

The reported sale of Russian RD-93 engines to Pakistan is said to benefit India according to experts, but I am curious about the broader implications for India's security and foreign policy.