Actually no. The law of gravity describes the attraction between two objects. The theory of gravity describes why the objects attract each other.
But gravity is not only a theory.
gravity is a fact you can prove, actually you don't even have to prove it, most everything proves it is a fact every moment in time.
I'm still waiting for anyone to explain the discrepancies between the two chapters.
You're right, nobody addressed this.
There are a couple of things you can do with it.
Others have pointed out good reasons to safely assume that Genesis tells just one story,
but with different focus.
Genesis 2:4-7 is a summary of the 6 days of Genesis 1.
Genesis 2:8-25 is the 6th day, and this is all in the Garden of Eden.
Yes, it was a very busy day, that 6th day.

But the Garden is not the earth that God filled with life.
God created trees and plants also in the Garden, although plants were created on the earth on the 3rd day.
But now for the stumbling block: The creation of animals, and Adam naming all of them.
But we're still in the Garden at this point of the story.
In Genesis 2:18 God wants to make Adam a 'help' because Adam shouldn't be alone, and he creates animals, but Adam found no help that 'fit' him.
This problem is solved by God by forming Eve form Adam's rib.
This may imply that God created all female animals, including Eve (the female version of the mammal in God's image) from within the Garden, or that he just created all the animals again for some reason.
Ultimately Eve was formed as a 'fitting help'. Adam was very happy.
This ends the creation week, and God takes the 7th day off.
So on the 7th day, fertile and with an assignment to procreate they stood there naked in Paradise.
It must have been rather hot.
But they have no intercourse before Genesis 4:1
Apparently something ruined the party...
The serpent (could be "the shining one") must have been very distractive..
God was having this day off, perhaps out of courtesy for the young couple and their assignment.
So He says: Where are you, Adam? when He notices something is going on.
I think we'll never find proof for any interpretation, but who knows what tell tale signs we may bump in to in the future...