It’s all about layers of abstraction. A web developer doesn’t need to know about analog circuits to program computers
Contrast that to web developers. They are dealing with very different principles from web browser developers, who are mostly working with different principles than operating system developers, who are working with entirely different principles from those who design hardware. It's not that they are working with a different subset of the same thing because one layer of abstraction is directly on top of the one below it and (ideally) the layers below completely hide how they work from the layers above.