The closer a planet is to the sun the