My own iguana was perfectly willing to make friends with cats and dogs, and even cuddle up with them if the room got cold. That’s because he was properly raised. But there was one cat who had a habit of coming into people’s rooms and pooing on the bed. He did not permit this cat to come into my room.
This iguana is still pretty young, as shown by his still bright-green color which will fade with age. I am told that it smarts when an iguana whacks you with his tail. I don’t know: I was never whacked or clawed or bitten.
However, he is old enough to hold back. The cat is not getting the full blast of iguana fury, not by a long shot. That would consist of gaping jaws paused to bite, loud hissing, tail-lashing–and a sudden charge. Here the lizard is just letting the cat know who’s boss, and staking his claim to respect.
I think the cat will figure it out.