My headcanon is that the cat assumed that it looked human up to that point and experienced a major existential crisis when it saw itself in the mirror.
I think the scientific causus nowadays is that the mirror test is not sufficient for cats because we don't know if they don't recognize themselfs or just don't care
Cats do recognize themselves though. Most of the time that is. I'd not put it beyond them to recognize themselvesand go "yeah, im Kind of angry, so fuck this"