Consider a sphere of test particles around a point. Then each test particle is following a geodesic through space-time. A geodesic is the closest thing to a straight line that exists entirely within space-time, which the test particles must remain in - they can't somehow go "outside of space and time", they are stuck in the framework of space-time like everyone and everything else.
Each particle is moving along a geodesic, but the geodesics can converge - or diverge. The reason that the geodesics converge or diverege is space-time curvature. Remember that the geodesics we are talking about are space-time geodesics, not just curves through space. We can look at the volume of the sphere at some time t, then, knowing that the worldlines progress through time, ask whether the volume of this sphere is increasing, or decreasing, as time progresses, and how fast it is changing (accelerating).
The answer is given by Einstein's field equations. If you look at "The Meaning of Einstein's Equations",
http://math.ucr.edu/home/baez/einstein/einstein.html, you'll see a fuller description of the process. The second derivaitive, i.e. the rate of change of the rate of change of the volume, is given by a simple formula : the density at the center of the sphere (rho) plus three times the pressure at the center of the sphere (P).
To answer your other question, you can get a sort of anti-gravity effect where the geodesics diverge, this requires either a negative energy density at the center of the sphere, or a negative pressure, from the above formula. If they are both positive, then the geodesics converge, the sphere of test particles shrinks, and we have what you think of as attractive gravity.
The idea that "pressure causes gravity" isn't at all intuitive, but it does come out of Einstein's equations. Baez's paper, which I liked to above, is probably going to be the best explanation of this you'll find at a moderately low mathematical level.