Two electrons, two charges
A full ns² outer shell is not stable enough to keep, so these metals lose both electrons and form +2 ions. The doubled charge means their compounds are held together far more strongly than the alkali metals' — which is exactly why they make good structural minerals.