Left with a friend in its cage or something different?

New surroundings could have made it wander and search which resulted in a rub on its nose.

That's my first thought.