ask a silly question and you get a silly answer
If one asks a strange or nonsensical question, the listener will probably respond with a similarly strange or nonsensical answer. A: "What the heck are you talking about? All I did was ask if you think I should dress my cat up for Halloween!" B: "Well, ask a silly question and you get a silly answer!"