because they know that it will make you get up. And if you get up you will inevitable have to walk a little closer to where their treats/food are stored. and if they look cute enough and nuzzle up against your legs enough maybe just maybe they'll get a treat