It’s common for squirrels to rub their faces on things as a sign of marking territory and sometimes leave the scent to find mates and orient themselves.