For some it's easy. They learn it from their parents. For others, by the time they are 10 years old, they've seen it all on TV, playgrounds, and even in school or camp. In most families, it's then up to the parents to counteract the little tricks Junior tries at home. Sadly, the parents don't bother and the child matures, thinking such behavior is acceptable if one can get away with it.
Prisons are chock full of inmates like that.
There's a missing link somewhere. These folks are just not thinking clearly even if their I.Q.s are closing in on 200. I heard of an incident this summer that was so bad it was funny. Try to imagine anyone being so impossibly slow of thought. There was this thief who had stolen several paintings and pieces of art from a nearby museum.