These are people's terms for other people who are not smart.
Look at this.
A person made this. They called it a 'rabbit.' Other people agree that this is a rabbit. Another person might even buy this rabbit!
Who is "one carrot short of a bunch" now?
Not the rabbit, I can tell you that!