DLSS works on Tensor cores only available to Nvidia. FSR works on anything. This means that DLSS is more specialised and, if implemented in a game properly, will work better.
GSync only works on Nvidia cards and GSync monitors, whilst FreeSync works on FreeSync and GSync monitors with any gpu.
Now ray tracing works on RT cores for Nvidia and I believe AMD have something similar. The key difference with the former technologies is that ray tracing doesn't have an Nvidia or AMD version, the tech is part of the DirectX 12 Ultimate specification. (I think Vulkan has something similar). Both GPU makers use DX12 so they use the same software to apply ray tracing.
The fact of the matter is that the RT cores of Nvidia are more effective than the ones AMD utilises. AMD usually combats that by just adding more cores.
In the end, it all hangs on implementation. In some games, AMD will be better because the game devs have optimised it for AMD GPUs. In most games, Nvidia will be better. I suggest looking up benchmarks for games you play with and without ray tracing.