Recruiters typically get paid a commission based on the final salary, so it’s in their interest to get you as high a salary as possible.
There is a reason real estate agents homes sell for more than anyone else's -- because they know the real value of the market and have an incentive to go high when it's their own home. Recruiters are the same.
Different incentives for all three parties.
Obviously for them, being able to close more candidates at a "high enough" salary is preferable.