I think the bear was just as curious, as to what you were looking at.
But, being a bear, it did check you out to see what your awareness ‘let you see’, and then walked off.
LOL. Curious about how good he might taste.