For 2D games, I much prefer using C++ because most premade 2D engines do this weird thing where they either come up with their own scripting language or using something weird like Javascript. For 3D games, I don't feel like doing all the 3D math myself, + Unity and Unreal use C# and C++ respectively, which is nice.