To put your finger on it / To touch a raw nerve
Literally 'to put the finger on the wound'. Means identifying the exact problem, or bringing up something painful and sensitive.
With that question you put your finger right on it.
I didn't want to touch a raw nerve, but it was necessary to talk about it.
—Is that what's wrong? —Yes, you've put your finger right on it.