Social and moral distance in risky settings