First of all, I claim no expertise in English, as it is not my first language. Here I just want to share with you what I observed. I think, in many places, "under" and "beneath" can be exchangeable. However, "beneath the tree" seems to be used more often to describe things that are literally one layer below. For example, we tend to say "sit under the tree" and "buried under the tree".