The foul for his first booking was a soft foul but 3 free kicks had been awarded against him before his first booking (rightly or wrongly) and that’s the reason why he was booked
I’m not saying he should have been booked but it was his fourth foul in a short space of time