The point is that one team was breaking, and the other team make a deliberate foul to stop it. That’s a bad thing, and sometimes considered a booking offence on its own. Then the first team tries to play on quickly - which is their right - and the same player stops them from doing so by doing a thing that you’re not allowed to do because he wanted to get an unfair advantage.
You’re right, people who deliberately stop people from taking a quick free kick rarely get booked. Doesn’t mean they shouldn’t be. And like I say, he probably got booked because he already deliberately fouled the guy, then exacerbated it by blocking the quick free kick.