Dear student
These alkaline earth metals are harder and denser as compared to alkali metals. This is because the smaller atomic size causes the electrons to be packed more closely, thereby forming strong metallic bonds. This is why these metals are harder and denser than alkali metals.
Regards