The relative ratio's in which elements are present is already determined very long ago, before the sun and the planets around it were formed. Current scientific view is that the sun and planets are formed from gas and dust, which are the remnants of a supernova explosion, a long time ago.
In a supernova explosion, fusion of lighter elements gives the heavier elements. But, from iron and higher, fusion costs energy and for the heaviest elements, a lot of energy has to be put in it. Argon is a lighter noble gas than xenon and that explains why it is more abundant. Helium and neon are more abundant, but not on earth. They have escaped atmosphere long ago, due to the relative lightness of molecules.