The bear came up the gully.
And paused to sniff.
It didn't take him (or her) long to realize the smell was coming from under the log or rock.
So he pulled it away, and found it wasn't edible.
When he encountered the camera, he sniffed but didn't bother it.
Then he continued up the gully and was gone.