Wouldn’t the second Death Star also have a magnetic field, then? And obviously this voice modulation effect doesn’t appear in ROTJ.
The magnetic field, IMHO, is some kind of shielding (ray shielding? no one knows.). DSII’s only shield was projected from Endor.