Because oil is an isolator just as air is, but water is not.
That being said, not all electronics are fine with being submerged in oil or any other liquid regardless of conductivity. Specifically there is problem with high frequency signals, oil has different dielectric constant than air so that can screw up impedance matching on sensitive signals.
Latest Answers