Different planets have different escape velocities because:
they have different distances from sun
escape velocity depends on the body that has to escape the atmosphere of the planet
different planets have different atmosphere
they have different masses and sizes
Different planets have different escape velocities because they have different masses and sizes.