It was formed in Outer Space from a vast cloud of dust and gas.
As it cooled down it shrank until it was really small.