This is the traditional custom,and it’s called 「Kimamori (or Kimori)」which means guardian god of three. This is to thank to the tree for the harvest and to wish the same for the next year. We,Japanese, value the nature a lot. Why don’t you visit Japan full of warm people and the nature?