I think it has to do with money and media hype. My nephew started comp sci last year. I visited him once. As far as I saw his class had a lot of girls and party (seemingly) guys. Combining this with my experience in the workplace, it seems computer science's demographic has changed drastically in the last 5 years. It was just like other engineering branches while I was studying 16 years ago. It was full of introverted men like other engineerings still are. Now CS's student profile is more similar to law, etc... High salaries, very low unemployment of CS degree holders and media hype are drawing a lot of non-techy people in.IMO it's because EE is just outright harder than computer science. In fact I'd say it's the 2nd hardest major overall (below only a math degree).
People say physics is math heavy. True but it is intuitive math, just some calculus, and it is easy to draw a picture in your head for classical mechanics, thermodynamics, even quantum mechanics (i.e. graphing simple wavefunctions). The graphs are easy to understand, usually something as a function of time or distance. These are relatively easy graphs to read: it's either something changing with time, or a spatial distribution.
Even in physics, the universally most hated/feared class is classical electrodynamics which is just 1 class but is basically half the classes for an EE.
Eventually you develop a 'intuition' and don't need too much math to explain concepts and most of all, you just view real world phenomena as a "modified case" of something you already solved before.
Electrical engineering is much more abstract.
Also, truth to be told. The industry needs a lot more CS grads compared to EE grads. Modern chips and even PCBs are extremely multipurpose and very expensive to develop. Thus very few companies develop their own electronics. The modern electronics industry is mostly a few people designing multi-purpose stuff and a lot of other people using the said stuff in different ways.