Question: what is the answer to the question?
Answer: “The answer to this question” is more general. The preposition to denotes assignment - that the answer is being “applied” to the question, whether the answer is right or wrong.