Every instrument produces harmonics. It has nothing to do with electrons being waves and interfering with each other. Clarinets produce odd-order harmonics too. Anything you can do with analog electrical engineering you can also do to a digital waveform. There is absolutely nothing special or mysterious about a distorted electric guitar except that it sounds cool.
Tube based guitar amplifiers make harmonics via miniature particle accelerators (and the supporting circuitry) ;) Multiple ways to produce the same effect!
> There is absolutely nothing special or mysterious about a distorted electric guitar except that it sounds cool.
That's not correct at all in fact! Even a simple google search reveals this :) How about this? Type "what harmonics does a 5150 amplifier produce vs a single ended EL34 amplifier?" into chatgpt