Simple. 7980XE is a much better CPU overall and it has more cores. There are a lot of differences. Quad channel memory is not always important but still a factor. Intel has much, much better inter core latency, and general latency inside the CPU. AMD is trying to compensate for this with insane amounts of cache but still can't get nowhere near. Another thing is that AMD optimized their CPUs for tile based rendering, and similarly shaped tasks. So if you need it for rendering, encoding AMD is the way to go. But in general and real-time tasks Intel wins.
You will see 3950X beat or go toe to toe with 7980XE in Blender or similar tile base rendering workload even though it has less cores. But look what Intel does to AMD in real time benchmark.
It also depends on your memory settings, capacity, etc, vs their test system. IPC gains are there only for some scenarios, and it is possible that AMD is optimizing micro code for them.