Space Why are some planets rocky and others made mostly of gas? Because temperature and material differed across the young Solar System.