Thanks to the 10 Shadows Technique, which he got access to because of Megumi, Sukuna was able to cut through Gojo's Infinity and essentially kill him in a single shot, splitting his body in two.