Thus one ends up with a case of Deliberate Values Dissonance. Some, however, research the culture and make an effort to reproduce the attitudes of the time and place accurately, even when they are wildly different to what the author knows or might consider sensible. Many just use their own contemporary culture for everyone in the story for narrative reasons or just to make writing it easier, resulting in an inaccurate and/or anachronistic story.
Thus, when depicting other cultures, a creator has to choose whether to portray them accurately or not. Often, what is appropriate to one culture at a given time can be repugnant to the same culture at another, or vice versa. Ada Palmer on 'historicity' in The Borgias vs.