It’s a great tactic to alert the referee you’re being fouled but if you aren’t, as in this case, it leads to a lot of confused looks on the court.
The foul was called on Terrence Jones seeing because he was the closest player when the yelling occurred.