I kind of think that pedophilia is part of the sexual spectrum -- people are attracted to others in a variety of ways, opposite sex, same sex, no sex, children, porn, masturbation, animals. HOWEVER, acting on sexual impulses by victimizing/harming others is wrong and criminal. Rape is criminal, sex with children is criminal. I find it far too disturbing to think I would ever actually feel sorry for a pedophile, but I can see that it might be possible for some to pity them for being born with dangerous antisocial impulses.
I don't know enough to be absolute about this, but I believe that pedophiles can be born or made. How often do victims of sexual abuse when children become abusers when they are adults? I don't know, but I wonder.