Well, occupation is a noun whereas occupying is a verb. The author avoided repetition by changing occupation to occupying. Note that "occupation" requires a possesive to precede it while "occupying" does not.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.