The title "AI can have emotions" is false and also misleading. In this claim, there is no evidence, no in-text citations, and no proof. Even if the statement were true, it would not be convincing without evidence. Stated by Eficode, in an article written about Artificial Intelligence emotions, "AI does not have emotions, much less empathetic skills. If you tell it that you are [emotion], it has learned to respond in a polite or considerate way." This explains that because AI lacks consciousness, it cannot have or feel emotions. But it can learn human emotions are respond accordingly when these emotions are presented, making the experience for the user more appealing.
Source:
https://www.eficode.com/blog/the-emotional-intelligence-of-ai