Think of it this way - if more of the NiftyFifty go up cumulatively (based on how index is computed) index will likewise go up a certain amount. Same but in reverse, if more go down cumulatively.
Gaps on the open many trading days can get things out of sync, arbs step to "fix" that. That is why...