Japanese culture is largely a product of developing on an island archipelago where there's not much livable space (much of the land is mountains) and there's almost no natural resources. Add to that the various contacts with Western culture they had, and you get what they have now. The bit about respecting the environment (which isn't perfect, but it's a lot better than many other countries) is an example of this: when you don't have much space, you have to work harder at keeping your environment good because you don't have the option of just moving west when it gets too crowded, like they did in the US. Of course, they tried emulating the Europeans and doing the colonization thing a while back, and that didn't work out too well.
Culture is a product of your environment.