I assume the element has 5 valence electrons (not neutrons). The similar properties are shared between y and z since they have the same number of valence electrons. This is what is primarily responsible for chemical behavior.
I believe the answer would be mass. Low mass stars and medium mass stars often become white dwarfs when they die while high mass stars explode in violent explosions called supernovas and usually leave behind a black hole or a neutron star.