A comet the size of a small mountain and about as solid as a pile of talcum powder whizzed past Mars.