Why AI models don’t admit they don’t know something?

They never just say oh I don’t know or my sources aren’t great…or this code language isn’t in my library or something. They should teach them it’s ok to not know something… then I would go and look somewhere else for my answers instead of word wrestling the AI for it.