gravity is the action of matter on space that pulls in more matter, an organising force that gave us the sun. matter releasing energy, off which we live. Life is organising matter too, How it started doing that abiogenesis, is still being worked on , as is "gravity". but
Just because we are finding out how things work, the laws, processes, does not mean it is not work in the first place.
May be one day we too, will make airplanes, cars, that design themselves, build themselves, fuel themselves, repair themselves, recycle themselves.
gravity came from matter, matter from energy. energy is uncreated, but has its evolution too.
P.S. The unit for energy is J, by the way. remember the letter.