Could it be the Microsoft Defender SmartScreen feature? I stumbled upon it too... It happens because an app is not code-signed and/or it doesn't have enough reputation for SmartScreen.
Downloading and playing it through the itch app effectively bypasses the warning and should protect you more—provided you have the sandbox feature enabled.