About variables

Hi there, I have a question about the use of variables.
Why is it that when I select a variable object and open the color picker,
the selected variable color doesn’t show up as it does for color styles?

Is this a bug, or is it the intended behavior for selecting variables?