Mamas, don't let your babies grow up to be coders, Jensen Huang warns
theregister.com
theregister.com
The hard truth is, software devs/engineers/programmers/etc. have low social value/status despite their earning power.
It simply isn't respected in society. It's either perceived with contempt at, e.g. west coast privileged tech workers, or with disdain as a job for nerdy/feeble people everywhere else.
So the result is, a "software engineer" is desired at best as a provider of money and resources. It will never be sexy/desired --that role will be resolved for the gentleman maintaining your fancy pool while you're busy writing code.
This is the real reason a parent might steer their kid away from this path.
Not necessarily a bad thing, but it sucks if you're trying to climb the ladder into a more important role (such as an executive role, etc).