In Japanese culture, there are well-defined and culturally accepted ways to express sorrow and sympathy. People are expected to wear somber clothing, offer incense, bow to pay their respects, and use specific phrases to express condolences. This is an example of:
Emotion regulation
Social model of emotions
Social referencing
Cultural transmission of emotions