Here's why:
* Like charges repel: Objects with the same charge (both positive or both negative) experience a force that pushes them apart. This is like two magnets with the same poles facing each other.
* Opposite charges attract: Objects with opposite charges (one positive and one negative) experience a force that pulls them together. This is like two magnets with opposite poles facing each other.
In summary: Repulsion occurs when the charges are the same, and attraction occurs when the charges are opposite.