The fact that it happens at all, however, would seem to argue against allowing a 4-year old to get anywhere near a cub.
Not sure who would let a 4-year old near
pepper spray, let alone a bear cub.
Thinking about it, it's probably a good thing that bear spray is illegal in Yosemite, at least in the valley. I have visions of panicked campers accidentally pepper-spraying neighboring campsites on a regular basis.