The only way to rationalize religious teachings about eternal torture is through the belief in the idea of pre-existence. Otherwise, it is more rational to do anything necessary to cease all procreation.
Somewhat related is the concept of the future development of a mortality technology, which will offer the possibility of a technologically driven heaven and/or hell. Aliens could be doing this already..