Ziyech is the one who sticks a leg out and makes the hard tackle in the first place though, that's the first yellow
Of course, but he was never booked for that in the first place and wouldn't have been if the fracas didn't happen. Havertz, however, was.