This means that changes of variable come with an additional factor - the Jacobian. You cannot simply substitute the relationship directly into the formula for the one spectral variable, like you would for a "point function" (you need to account for the change of unit in the y-axis too, if you like, not just the x-axis).
It's not explained well but this is fundamentally what causes the moving peaks.