Young people told the researchers that rabbis they had encountered had helped them feel more spiritually connected.