It is not a legend. It is a defense posture mainly focused against canines. It is very effective. Many times humans are really scared by this behavior and will quickly release the horned lizard. There are stories in Mexican legend that these are the tears of sorrow.

Lester G. Milroy III
Conservation Biologist