Wall Street is getting a costly language lesson.

For financial professionals around the globe this past week, rising trade tensions and fears of a slowdown were no match for an unlikely drama suddenly unfolding in China: UBS Group AG's struggle to quell a public uproar over an economist's quip about pork prices.

Inside banks and investment firms, debate swirled across desks and trading floors. Many were baffled by the outrage.