The bear thinks a community involves all inhabitants, different or the same.
It's true for humans too, one has to beware of the dog.
And even we have to beware of the bull moose when we are small.
And try not to step on hornet's nest.
Interaction or not, both are still there, most of the time.
For example if a owl interacts with a tree and a insect also interacts with the same tree in the same geographical area/habitat. But the owl and the insect don't interact, would the owl and the insect still be in the same community since they both live in the same area and interact with the tree?