Just to protect them from splashes and such. In a diswasher they are protected buy the enclosure of the dishwasher.

Yep the efficiency sucks, only around 8%, but the wasted enegy shows up as heat in the water.