Why are all the planets round?
Due to the Sun's rays
Due to gravity
Due to the elliptical orbit
Due to the gasses present on them
Planet themselves holds gravity so any irregular structure itself is converted to a spherical structure.