There are meteorites on Earth which very likely originated from Mars. They're believed to have been launched into space by an impact, eventually finding their way onto Earth. If we're looking for the most realistic options for panspermia to have occurred, they'd be due to a natural event of this sort.