That is a nice illustration of how some social rules come to be.
Sometimes people do things that hurt others. Sometimes, they don't even know how harmful their actions are. The others will try to stop or reduce such behaviors. Then, they would pass this new rule or idea to new generations about certain actions that are bad. The new generations learn not to do them, but sometimes they don't understand why.