Ugh! Stupid people!

My inlaws have a dog does that sometimes. He will start growling or snaping at them if he don't want them take something from him. It is nothing they did. He just does it.