That has to do with the physics of harmonic vibration.

It's not that you can't make even numbers of spokes balanced, it's just marginally easier to do odd numbers.

Back in ye-olden days when things sucked there were more manufacturing benefits to it too but these days (this century) that doesn't really matter because even the sloppiest casting factory in china has their stuff figured out.