I just watched a news item about the guy that does
these amazing photos.
He actually stands the rocks like that and then photographs them. It was quite amazing to watch him pick up a rock and make it stand up on top of another rock.
Here's his web site