This is a unique gesture that is performed in Japan when passing a graveyard. It symbolizes protecting the parents from death--the thumbs are the parents.