The green lizard was trying to attract female anoles in mating season.