Toddlers are humans you know, small, irritating, loud and squirming humans, but still humans, could be the girl was just being a bitch and just wanted to behave that way that day
I don't think that babies and toddlers have that much self-awareness that they can pick up so easily on behaviour, when they get a bit later on towards the teens though they certainly can.