This might be a limitation of the analytical and inference ability of the AI or perhaps the AI was hallucinating. Either way, an over-smart AI might make situation worse.
Moreover, AI lacks human intuition or emotions, it runs purely on data. Not all human problems can be solved by data alone. Some need empathy and data and analytics may never be good enough to match human empathy or intuition.