Following are some of my thoughts on the matter. According to current theory, small pieces of randomly moving matter in space attract each other with their individual minuscule gravitational fields and thereby eventually form increasing larger amounts of matter, eventually leading to stars and planets. The high concentrations of matter warp nearby space-time and create a gravity effect.
The Einstein field equations EFE describe the fundamental interaction of gravitation as a result of spacetime being curved by matter and energy. A re-interpretation of the EFE could lead to the following alternative explanation of how matter collects to form planets and stars, and how spacetime is warped by matter. Rather than matter first collecting, and then distorting space-time and thereby creating gravity effect, I hypothesize that discontinuous areas of SpaceTime could result in concentrated areas of gravity which then attract collections of matter. In a way, this is a reversal of the classic chicken (matter) or the egg (gravity) argument.