The attacks are being attributed to a shortage of acorns in the bears’ natural habitat, forcing them to wander into populated areas in search of food.