Why do elements in a group on the periodic table have similar chemical properties?

A.
same number of outermost electrons

B.
same number of protons

C.
similar atomic masses

D.
similar atomic numbers