Step-by-step explanation:
It is known that beryllium, calcium and magnesium are all group 2 elements.
Atomic number of Be is 4, magnesium has 12 and calcium has atomic number 20.
So, they contain 2 valence electrons and in order to attain stability they readily lose their valence electrons.
As a result, they tend to form an ion with +2 charge.
Since, it is easy to lose two electrons to attain stability hence, elements of group 2 are very reactive in nature.