Reminds me of the antlion sand trap. How does the insect know the correct angle in making the trap?
I think it is physics. The angle is as steep as possible under humidity present.