One other way to see it, is thanks to Harmonic Oscilators.
Well it's not an HO, but!
At every equilibrium point r0, you can expand your potential (which causes the force) in Taylor series. For small changes, you have:
V(r+r0)= V(r0) + (r-r0) dV/dr|r=r0+(r-r0)2 d2V/dr2|r=r0+O(r3)
the 2nd term on the right side because of equilibrium is ZERO.
I can set V(r0)=0
So every region around the equilibrium is like an HO, V(r)=A r2
So if you disturb your system from its equilibrium a little bit, there will be a force appearing that will tend to bring it back to its initial state.
Of course that is for very small perturbations , small enough that I can forget the terms of r3, but works fine.
In that way, you can understand that any kind of system that is in an equilibrium state, if you drag it out of it, in "first orders" will try to return in a way. For what I used above I didn't use any kind of "determining what forces there are" only that my system was at an equilibrium and then something dragged it out of it.
Does it work in everything?
Well I guess yes. The only thing that is important, is to have a stable equilibrium states, and not an unstable-saddle ones. Otherwise my expansion and so peturbation would have no meaning.