With the December update, Microsoft has incorporated a number of improvements to Windows 11, its flagship operating system.
The easiest way to do it is to right-click the app's icon on the Dock, then click the "Quit" button. The Santa hat should be gone now. If it isn't, check whether the "Allow automatic icon changes" ...