Not in a cruel or spiteful way, but just to mess with them. Story time!
Last time I had barbecue, my cat went absolutely nuts. Something about the smell of barbecue really works him up.
Unfortunately for him, I like to err on the side of caution, and I do not feed him human food. He tried attacking me from all kinds of different angles. He was so aggressive and persistent that I had to shut him up in another room just so I could finish eating my food in peace.
When I let him out, he was practically frantic. He was looking here, looking there, looking high, looking low, and sniffing all over the place trying to find it.
Eventually he found the trash can where I threw away the trash. I kept him away from the trash for awhile until I thought he had forgotten about it. That was not the end however.
When I got home from work the next day, I found the trash from the barbecue on the floor with clear bite marks. I don't know if he remembered about it, or if he randomly decided to go digging through the trash. Either way I was annoyed with him. It felt like he got one over on me.
Clearly I needed a different trash can. I had never had a can with a step on it before to open the lid, because I never needed one, and they are more expensive. I forked over the cash for one though. This was a few days ago.
Last night, I decided I wanted barbecue again. Rather than staying out to eat, I got it to go and brought it home. I did this on purpose because I wanted to tease him.
Just like before, he tried very hard to get at my food. He wasn't as much of a problem this time though, so I didn't have to shut him up.
I finished my food, threw away the trash, and then waited. I derived a great deal of satisfaction watching him try to get into the trash can with no success. That'll teach ya, ya little shit! :-P