Software engineers are also paid differently by company and within companies. I know you know this.
They give you different raises according to a highly imperfect measure of your productivity and value to the firm. Two people with identical tenure and identical titles likely have different salaries on average.
None of this should be remotely surprising. And what’s the alternative ???