Here's why:
* Transfer of electrons: In ionic bonding, one atom (usually a metal) loses electrons, becoming positively charged (a cation), while another atom (usually a non-metal) gains those electrons, becoming negatively charged (an anion).
* Electrostatic attraction: The opposite charges of the cation and anion then attract each other strongly, forming the ionic bond.
Let me know if you'd like to know more about ionic bonding!