Why are asteroids and comets such weird shapes?

Small bodies like asteroids and comets are shaped more by their geological makeup than by gravity, which molds planets and moons into spheres.

Why are asteroids and comets such weird shapes?
Small bodies like asteroids and comets are shaped more by their geological makeup than by gravity, which molds planets and moons into spheres.