This drawing shows how forming planets drew gas to themselves.