My cat does the same thing, especially when she's super focused on something, like a toy or a bird outside the window. The vet told me it's usually a sign of heightened arousal or curiosity, but if it happens constantly without any triggers, it might be worth checking for eye pressure issues.