Fetching details from the dictionary...
to press against; to push against; to nuzzle against (e.g. dog nosing a person)
to rub (something) onto; to wipe onto; to smear with; to brush on
猫が頬を壁に擦り付けた。
The cat rubbed its cheek against the wall.
子犬が飼い主に顔を擦り付けてきた。
The puppy nuzzled its face against its owner.
猫は気に入った人に頬を擦り付ける習性がある。
Cats have a habit of rubbing their cheeks against people they like.