Sentiment or emotion analysis can be difficult in natural language processing simply because machines have to be trained to analyze and understand emotions as a human brain does. This is in addition to understanding the nuances of different languages.
https://www.repustate.com/blog/sentiment-analysis-challenges-with-solutions/
. .