That tactic is called price anchoring and the reason it tends to work on a lot of people is because it relies on a cognitive bias called anchoring [1].
[1] https://en.wikipedia.org/wiki/Anchoring_(cognitive_bias)