@kuruman, @Hill, @anuttarasammyak: Appreciate your kind help in resolving the concept.
However, a followup question is coming to mind, that in red shift of light coming from distant galaxy, the light is travelling in vacuum. The light's wavelength increases due to expansion of spacetime itself...