Why Inner Planets Are Rocky