Certain game engines and certain ways of creating games are prone to be detected as a virus.
Anything "clever", anything that obfuscates, runtime compressions, and any kind of internal emulations might look suspicious to a heuristic.
Godot exe runtime packing is rather bad at some versions. But just about any game engine has this in some versions. I do not know how bad the situation for python is.