The best answer is: An ionic bond is likely because they will want to give away two valence electrons in order to become stable.
Group 2 elements, also known as alkaline earth metals, have two valence electrons, and they tend to lose these two electrons to achieve a stable electron configuration. This typically results in the formation of cations, which can then bond with anions (nonmetals) to form ionic compounds.