CPU is compressible — you can throttle it. Memory is incompressible — once allocated, the kernel can't reclaim it without killing the process. This is why exceeding CPU limits causes throttling but exceeding memory limits causes OOMKill.
Official docs