Anything can be thought. Look;
Atoms or molecules move faster when excited/heated
The electrical charge of protons and electrons are exactly equal but opposite. Usually there are the same number of protons and electrons in an atom, and their electrical charges cancel each other. When two atoms are close to each other and their electrons are of the correct type, it is more energetically favorable for them to come together and share electrons (become "bonded") than it is for them to exist as individual, separate atoms.
It looks both repulsion and attraction are there in atoms. When atoms or molecules are neutrally charged-there may not be a repulsion.