What causes ionic bonding between two atoms?

electrostatic interaction between a cation and cation

electrostatic interaction between a cation and anion

electrostatic interaction between an anion and anion

electrostatic interaction between an ion and isotope