Just tested, and this is because of the new Cascadia Fonts that were released 2 days ago: Cascadia Code 2105.24. I'm using Ubuntu, however, I do have the Cascadia Code fonts installed. As, however, I'm not on Windows there's no automatic update process for it (if I recall correctly, Windows Terminal ships the Cascadia Code Fonts to Windows, though there are likely others) so I wasn't seeing what the OP was. I just installed the Italic Fonts for Cascadia Code and voila!

This explains the why; I don't have an answer for how to stop it (for me personally, I disabled the Italic Fonts in Kubuntu's Font Manager). It should probably be a feature request on Meta Stack Exchange to not use the italic font style; if that is even possible.
Edit: There is also an Issue open on the Cascadia Code GitHub asking for version of the font to exist without these "cursive" characters for the italics characters.
Update: The next release of Cascadia Code will now be providing "non-cursive" characters by default in the italic style. The current "cursive" characters will still be available, however, you will need to enable OpenType in the software you are using. Issue 468