Yes. It's the past tense and the past participle of
pet.
Many people use "pet" as a substitute, however, because of the sound. As far as I know (American Heritage Dictionary included), the only proper form is petted.
[I usually say 'pet' for the past, however. So sue me!]
Please take a look at Why be anonymous?.