When can we say that potential energy of an atom decrese or increase?when the separation increase and decrease.
Potential energy between two charges:
(A)=k×q1×q2/r
Now if r increases and q1 andq22are of same sign then;
A be decrease.
Else if q1 and q2 are of opposite signs:
Then A be increase.
So, when the separation between the two charges is increased the electric potential energy of charges may be increased or decreased.