Look, I don't have any idea what this comic is about. Or at very least, I have no idea what the rules of this reality are. Was it magic? Some kind of freaky Friday situation, where he wished his cat into the glass? Yes. Let's go with that.