Thanks for spotting that !!
This was a bug introduced here: [hist] Code improvements to `TH1::SmoothArray()` · root-project/root@9ef86d5 · GitHub
A PR to fix this is underway: [hist] fix smootharray bug by ferdymercury · Pull Request #18099 · root-project/root · GitHub