It’s also a way to show the employer that you can accomplish more and be rewarded without having the employer risk raising a salary. It’s also a differentiator from your peers who may also want a raise.
There is a risk that your employer can take advantage, but then if you have a jerk employer, you will suffer in other ways as well. The added responsibilities will make it even easier to find a new position.