Why do ions form after ionic bonding?