And in relation to them, the theory of general relativity is needed because of the huge speeds and masses.
Asteroids can be approximately calculated using Kepler's laws. But in reality, to describe the motion of a planet or asteroid along with all the gravitational interactions, you need equations with thousands of variables, which, moreover, have no solutions.
I was involved in this a bit as part of preparing for the all-Ukrainian astronomy Olympiad.