The black hole is surrounded by an event horizon. No matter which fell under the horizon will never escape, even in the form of information (in the classical theory of relativity). So why is the star orbiting a black hole moving at the correct speed and trajectory, as if they knew the mass of a black hole? Knowledge of the mass of the black hole, depends on the amount of matter inside the event horizon, and this is a secret. How nature does it do?