Kirigiri notices powder on Izayoi, so candy definitely played a part
If his code was "he can't eat candy" that might be why he died. Also explains why the knife wound has barely any blood, it's because he was stabbed after he died from his NG code.
Doesn't explain why his skin didn't turn purple though.
I bet Ruruka killed him somehow, maybe by accident