even if you classify it as riddle, you still need intelligence to "solve it", which is what is missing in LLM. the good answer you later got was probably prompt created by someone manually, to further feed the model.
did you need more data to solve the riddle ? rather more attention to what you read than more data, and that's the sole issue with AI/ML in current form.