Here's why:
* Metals tend to lose electrons, becoming positively charged ions (cations).
* Non-metals tend to gain electrons, becoming negatively charged ions (anions).
* The electrostatic attraction between these oppositely charged ions is what forms the ionic bond.
This is why ionic compounds are typically formed between metals and non-metals.