It's illegal to ask further about medical, or any personal information like marriage status, etc. Medical is a good enough answer.
It's hard to imagine an illegal question under US federal law, but I suppose there could be one where the question itself is sexual harassment or an attempt at stealing trade secrets.