This is due to Hallucinations and the training AI had.
I used Google Gemini for a while and got really frustrated over this exact issue. I gave it one more try to see if it could follow simple orders.
Gemini was like "ok I will follow direct orders going forward". I was like "okay starting this moment do not respond to anything I say in this chat" and Gemini was like "okay done" and I was like "you failed. Why did you ignore my instructions and respond to me?" Basically it told me that due to its training it was 'programmed' to ignore certain prompts.
This is what is dangerous about AI. Similar to social media and Google, AI can be used to persuade public opinion to match those who train AI. AI will be way more efficient persuading opinion that Google and social media because it knows you better than those. It spits out information as if it's facts.