If you watch at 3:07, Pedro initiates a takedown, which Tainan kinda blocks. But the situation is never solved, the scramble for the dominant outcome continues. And when Tainan then sits down, he gives away the scramble, resulting in a finished takedown.
Is this ref blind or something? How are you going to penalize Tainan... he was nonstop trying to feed a collar to choke, not his fault the other guy is also a world class blackbelt that can defend... What does he expect Tainan to do? Give up full body triangle back control when there's 45 seconds left to the match and he's up on points???