It is human nature to be attracted to something we’re clearly instructed not to go near.
A child walks into the kitchen, minding his or her own business, looking around, completely oblivious of the piping hot dal lying on the table, right up until you tell him to not touch it. He knows that something dangerous now exists in the vicinity. That doesn’t necessarily make him lunge at it but it rouses his interest, and will make him want to inspect it. This isn’t about right or wrong. It’s about instilling the knowledge of things and more importantly, fear, from a very, very young age.
Children don’t need to be taught fear. Its existence doesn’t need to be reinforced to them. They already know fear. That’s why they cry.
Drawing a parallel from this, are people similarly attracted and intrigued by what has been deemed wrong, immoral, simply out-of-bounds? The position of the line between right and wrong is highly subjective and the line itself is often blurred. However, it couldn’t be any more important than it is in today’s day and age.