Recruiters or hiring managers want to know if your expectations align with what they are willing to offer for the role. They don’t want to go through multiple interview stages only to find out that they can’t afford you. This would not only be costly in terms of time for the hiring manager but also for the candidate.