I would say your textbooks are way out of date. I stand my my statement that the law of gravity is what happens and the theory of gravity is why.
Actually Newton’s law of gravity formula has been shown to not stand up under extreme conditions in space, so I would say that even it does not qualify as an infallible law. It works ok for classical physics, but not so well if we want to study the whole universe from the sub particle to the far reaches of space.
The study of sub particle physics and string theory are bringing us closer to understanding what gravity really is, but they are still theories.
Whatever! You can keep your definition of theory and I will keep mine (actually not mine but that in our very current text book). Is the Physics definition different from the one used in Biology? That’s irrelevant to the theme of this thread, the placing of Bibles in state-owned cabins, and the argument with whattajoke. Unless, of course, you are purposely trying to change the subject!