Answer to Question 1
It is a religious ritual performed to find hidden objects or information.
Answer to Question 2
The cargo cults were based on Melanesian experiences in WWII, they were founded upon Melanesia social values, and they were attempts to equalize the disparity of material wealth they witnessed between Europeans and themselves.