If I throw a stone in the air,how does earth know that it(stone) needs to be pulled. My point is are the rules of physics contained inside every single particle? Or is there a central body checking the conditions every single frame and then doing the respective actions?(here frame means periodic update of the universe just like in computer graphics). My question is kind of silly, but I hope that there is answer somewhere.