It's believed to come from a primary mammalian passive gesture. In the meaning of "I don't know," it indicates "don't hurt me because I don't possess the information."