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.
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).