To get to the bottom of it, you have to look at nices etymology. According to the Online Etymology Dictionary, nice has its origin in Latin, coming from nescius (ignorant, not knowing), a compound of the stem of scire (to know) + the prefix ne- (not). The word evolved from there into the Old French nice, niche, nisce (simple, foolish, ignorant). By the late 13th century, it was a Middle English word: nice, nyce, nys (meaning essentially foolish, stupid, senseless).
The Worst Word in the English Language is ?Nice? | PWxyz
Origin of NICE
Middle English, foolish, wanton, from Anglo-French, silly, simple, from Latin nescius ignorant, from nescire not to know more at nescience
First Known Use: 14th century
Nice - Definition and More from the Free Merriam-Webster Dictionary