2 words across 1 languages descend from Japanese うん — including うんこ, うんち.
See the etymology of うん itself →