The destruction of a hypothetical moon may help explain the origin of both