Why can’t salary discussions be more of a conversation?

Why do recruiters frequently hold back on sharing the salary range upfront? The process often resembles a game of cat and mouse, where a recruiter asks candidates for their salary expectations, but when candidates attempt to reciprocate the question, they often receive vague answers or outright refusals.

It seems counterproductive, considering the ultimate goal is to attract and hire quality candidates.