It is theoretically possible that bacteria developed on Mars early in its history and that some were carried to Earth by a meteorite  However, strains of bacteria from different planets would probably have substantial differences in protein structure that would persist over time, and no two bacterial strains on Earth are different enough to have arisen on different planets
So, even if bacteria did arrive on Earth from Mars, they must have died out
It fails to consider whether all bacteria now on Earth could have arisen from transported Martian bacteria.