There are many variables. With many independent variables, it is difficult to know exactly what is causing what.
However, we know both the USA and Japan started protecting the bears much more.
The bear populations grew significantly in both countries.
Fatal attacks by bears on people grew significantly in both countries.
Japan has Asian black bears, not the same species as the North American black bear.
Maybe theirs are more aggressive.