A promotion is not a reward for doing a good job in your current role. For a company, promoting people is an optimization technique. Good employees are hard to find and if you already have one and he or she shows the potential to do even more valuable work, you promote them.
It's as simple as that.