The escape velocity for a planet is, $v_e=\sqrt{2gR}$, where $g$ is the acceleration due to gravity of the planet and $R$ is the radius of the planet. Since the value of $g$ and $R$ are different for different planets, they have different escape velocities.