The RBI's Monetary Policy Committee sets the repo rate. When it rises, borrowing gets costlier for banks, and they tend to raise loan and deposit rates. When it falls, the opposite usually follows.
The RBI moves the repo rate mainly to keep inflation in check while supporting growth.