It doesn't though. If the sun suddenly disappeared then it'd take 8 mins 20s for us to notice or feel any effect. Which is the same time it takes light to get to us.
Only quantum entanglement seems to break this law, but I suspect microscopic wormholes are involved there somehow.