I can speak a lot from software engineering/CS a lot from experience, but I do think its an area that has cultivated a lot of interest. It is a field that pays really well and has such a low overhead to get into. It has to be one of the top-most paying careers that doesn't require you to get some sort of bureaucratic certificate, ignoring professions like acting or sports obviously. It is kind of mind-boggling the first time you work an internship/job and the company is trusting you to modify their codebase even when you have zero experience in doing so. The only problem is that a lot of this interest is coming from a small subset of people. Not enough is done to encourage more women and non-Indian/Asian minorities to enter the field more. A lot of it has to do with a really annoying flexing culture in CS.
There is this culture of trying to prove how smart and accomplished you are. A lot of it is gate-keeping that tries to make it seem like you have to come out of the womb and already have a favorite Linux distro and an unyielding love of coding. It doesn't help that a lot of how software engineering is painted by pop culture as being full of genius eggheads that are fully sustained on mathematics and intense coding 24/7. There are definitely some jobs that require you to be some elite master in your field. If you're working on Google's search algorithms, you're going to need to have a lot of knowledge on graph theory, statistics, machine learning, algorithm analysis and optimization, etc. But most software engineering jobs have you just implementing some basic business logic to work automatically and is something that rarely requires much beyond basic math and algorithm comprehension.