If it’s a constant, it’s not a variable, and vice versa.
Yet... it is called the Cosmological Constant, and it is a variable.
For a better understanding, remember these 'scientists' said that even though global average temperature shows either no change or a decline, it's actually getting hotter.