Here's why:
* Group 2 Element: Beryllium is in Group 2 of the periodic table, also known as the alkaline earth metals.
* Tendency to Lose Electrons: Elements in this group have a tendency to lose two electrons to achieve a stable electron configuration.
* Oxidation Number: When an element loses electrons, it gains a positive oxidation number. Since Beryllium loses two electrons, its oxidation number becomes +2.