It all depends on your own relationship with whatever your god is. If you believe in the bible then you are limited to what you can do and think in terms of scientific evidence that humans have aquired through evolution. Though all great thinkers know that humans are greatly limited in all aspects of the universe. Through science we discoverd that the earth is only very small and is not the center of the universe so it raises many questions about the bible....IE if the earth took 6 days to create, why did it take the same amount of time for the vast universe to be created too. And considering we can only see about 13 billion light years away (17 trillion human years per light year). Which is when the dark age ended and the first traces of light began. Beyond that humans wont ever be able to see what the dark age really was, or even dark matter (which we know exists but we cant see it)
So all we really can do is produce great minds like einstein to come up with equasions that limit physical possiblities for humans and predict that anything beyond what is physically possible for a human, must be a force of GOD.
For instance the speed of light, we know is the speed limit of the universe for humans, and we can predict that anything faster must be a force of god. Stuff like that.
So when you question "why does god allow things to happen" its really not something that we can know through science so we must assume that it is because he gave free will and left us to grow and evlove while he continues to expand the universe everyday. And we can believe that one day he will return but that is all theory and faith based. If you believe in god then you believe he created the miracle of life on earth.
And for me personally, i have to believe that if he did create life then he must be a manifestation of his own creation. Meaning he literally IS life itself or the things that allow life to exist on this planet, on all levels from trees to rocks to stars to wind. Which is why he is all powerfull, because he sees everything good and bad, but still has the patience to allow it to happen because he is All patient, all loving, all humble and all mighty but can not always be there for everyone because our free will was a gift that he wont take away. So if you take free will away from a killer, you must take it away from everyone on earth.
So to me, a pedophile is someone who has lost touch with the true meanings of life. It is not to hurt eachother, but to help eachother. And once we all realize that we were put here for one specific reason, to live. Thats all we can do as humans is live..... . So you see if you devote your life to finding money, or finding love, or happiness, or healing .....what you are really doing is finding a reason to live and keep you going, because life is temporary and to be honest....all organic life on earth will be irrelavent 5 billion years from now when the sun dies. And nobody will remember our names even 1000 years from now which is a geological blink of an eye. So i suggest you live right now people. Dont wait for anything.