I once read that during the Middle Ages in parts of Europe, when a location had too many old people and a burden on society, the young would murder the old and the people doing the killing would force a smile while they did it.
Supposedly is the origins of the term and definition of "Sardonic smile." To force a smile while doing an unpleasant task.