If there was an H instead of the ester side group, these would be the same molecule, as there would be a plane of symmetry down the middle of the molecule. Inserting that side group takes away that symmetry, and the molecules you have drawn are enantiomers.