But. A normal kid would not feel any wrong when he/she is breaking in into some computer network. It is again just instinct. To a kid it feels like an awesome and elaborate game with no consequences (and 99.999??% of time there are no consequences and no harm done).
Natural instinct? No, it's upbringing.
And a lot of kids have shitty upbringing. It doesn't even have to be of the "father was an alcoholic, beat mother etc" kind. It can be "I had a perfectly good family that bend over backwards to satisfy my ego" type, or "I got most of my intra-personal skills off of TV and the internet", type.
I was mostly replying to the parents part about kids "throwing rocks at cars, hospitals or power stations", not to just a kid throwing some rocks at some building a few times in his teenage years or getting on in a fight or two etc (which is perfectly normal).
Upbrining and after-school activities tend to be the best way in teaching kids not to cause damage where society is most vulnerable. Of course, improving the infrastructure so no website defacing will leak sensitive information or turns of the power to the hospital is also useful. Most Electrical substation tend to have a fence.
Then say they throw their rocks not at some store window, but at a power station. Maybe at a hydroplant (those turbines do not like large rocks), or a solar plant (glass!). Maybe its at a electrical substation (a wet/icy stick or metal rod between two lines will cause shorts and break things).
The damage from such actions can be catastrophic. Life and livelihood can be lost for a large number of people. What if the power for the hospital gets interrupted, or the chemical plant?
This leaves us with a simple question then. Should we send teenagers that throw rocks and sticks/rods in jail for up to 10 years? Is jailtime a proper method to discourage kids from throwing rocks at power stations? In my society, that's has not been the current approach, and we have not had much failures from kids throwing rocks at power stations (or hacks for that matter). Schools, proper parenting, and after school activities has served the role of prevention.