You didn't provide the section, however, if the pitch changes then it's a sequence. If it's repeated as a structural device then it's called an ostinato. If it's a musical piece associated to a person appearing or an activity happening then it's called a leitmotif or a leitmotiv.