what is the name of that genre or theme, found often in anime, where the emotional states of the characters is reflected in the condition of the world around them?
Pathetic fallacy?
not that, way more specific
I tend to call this “Fisher King psychodrama,” although obviously that’s homebrew language.