Paedophilia may well be a deep seated disorder and could also a result of some sort of early abuse of the perpetrator.
It's not beyond the realms of possibility that the constant harping on the need for celibacy imposed on normal healthy people by religious institutions somehow mutates their natural urges into disordered impulses. The continuous institutionalised message that sex is bad is bound to have a strange effect.
Witness and compare the effect of food obsessions on anorexics and bulimics.