Rape is a very sensitive topic and if the person themselves doesn't bring the subject up it's not something that anyone should bring up unless you're a doctor trying to help them mentally with the situation.

Granted maybe the kid didn't realize how personal the question was until after the fact or answering it but a 9th grader should have some idea on how sensitive the topic is.