I recall numerous instances in my undergraduate career where professors and the students passionate in these fields would actively persuade people who didn't get exposes to the stuff from even trying.
I remember one professor teaching an elective class on the Linux kernel and how he would try his best to scare people into dropping the class early on. We lost 25% of the class after the first lecture (and the only girl). To be fair the class was hardcore for the typical level of CS students you'd see in my school. It was painful but fun. I just wonder about the people who got scared away, maybe some of them could have really embraced the Kernel and become contributors.
To this day I see hostility among the low level crowd in my dealing with people in the industry. They think that because what they do is more complicated that writing a bog standard web app that they are special and should be left in their caves not to be disturbed.
On a different note: I feel this is playing at least a small part in hindering Linux adoption. I have dealt with the community on and off for over 10 years and just the level of negativity that comes out of that community has got to be putting off at least some people wanting to tip their toes in the water. We need to MLLGA: Make Low Level Great Again! At that starts with really welcoming normies with open arms and patience while they get over the initial hurdles.