It's because the increasing returns to experience cut both ways and cancel each other out. You're more valuable to your employer after you've been there a while, but the job is more valuable to you too, for the same reasons (assuming things are going well for both parties).
You'd be a lot more reluctant to risk switching to a higher paying job from a job you've only been at happily for a month than one you've been at happily for several years.