Lizards aren’t mammals. Dogs and cats are. They’re very different sorts of animals, and their interactions together can be tricky. My iguana, for one, had a cat and a dog for friends: all three used to cuddle up together. I’m guessing that was kind of unusual.
All the lizards in this video are bearded dragons. When they puff out the “beard” under their jaws, or bob their heads up and down, they’re annoyed and those are signals–which the cats and dogs ignore. They’re lucky they didn’t get bitten–although the lizards probably know that once they bite the other animal, the die is cast. So they exercise an admirable restraint.
P.S.–The squirrel would’ve gotten it but good, had the window been open.