Well we have two concepts of gravity now. In Newton's concept masses create forces between them. In Einstein's concept mass distorts time and space around it and makes masses move as if there are forces between them.
So whichever concept you prefer it's the presence of mass that creates gravity.