Neither is natural. He was lying under the tree is natural.
1. Under the tree he was lying.
2. Under the tree was he lying.
I wonder which one is grammatical.
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: