Why is newton law of gravity related with red shift