THE DECISION
The player (Team A) must be cautioned (yellow card, YC) when play next stops. The Laws state that the referee punishes the more serious offence when more than one offence occurs at the same time. Thus, if a promising attack is stopped (SPA) by a reckless challenge then the YC is for the reckless challenge and not SPA.
Read official Law 12 ↗