it depends who broke up with who.
if she gave it back and it was the guy who broke up, then that shows how much the girl really cares for the guy. She is giving it back to show him how much she cares for him, but is returning the gift to atleast see him one last time and to try to forget about him... that may be the cause, but theres always different answers out there.