Why Chatbots Sometimes Act Weird and Spout Nonsense