She even understands the concept of people being jealous of hogging their loved one's time based on her earlier comment.
Either that or she's been taught a ton of stock phrases by her etiquette teachers without being taught the context or meaning of them.
She also seems aware of the optics of her dancing with him, but exclusively from a political/etiquette perspective, which is why she determines it's fine since she danced with the prince already, but she can't also comprehend the optics from the prince's perspective?
This stupidity is way too hyper-specific. Either be stupid or be smart, pick a lane.