Jealousy! =) Your cat is vying for attention. When trying to push my laptop off my map doesn't work, Prince Fredward will actually pretend to love the computer and then rub himself all over it and purr. xD
It's like he's trying to say, "Look, Ma! I'm being a good kitty! Look at how well we get along!"