The idiom is thought to have originated in the 18th century, but its exact origins are unknown. However, the idea of being careful and cautious in the presence of someone or something fragile and easily upset resonates across cultures and languages.
The metaphor effectively conveys the feeling of being constantly on edge, afraid of making a mistake or causing offense.