None of them and the Moon isn't a planet it's a wait for it moon (hence the name)The only way an esiarotd or comet could cause something that even remotely ressembled an earthquake would be if it was very large and hit the Earth the resulting shockwave would feel like an earthquake, even though it wasn't