Im willing to believe she’s a little more cheery around Luke because he reminds her of the good in Anakin and there’s some amount of relief knowing that, in the end, Anakin turned back to the light.
Being happy for a small period of time doesn’t negate years of trauma responses or really change that entirely.