It usually depends on the relative position of the objects.
For example, is the electrostatic interaction energy between two objects with charges .