In my view, when the Object A is attracted to a Charged object B. Object B should be Negatively or Positively charged. So Object B should be the Opposite charged according to the Object B
Example =
If Object B is Negatively Charged, the Object A should be Positively Charged
If the Object B is Positively Charged, the Object A should be Negatively Charged