The Shriners don't actually "camel walk." The walk you are likely referring to is called the "Shrine Walk" or the "Shriner's Walk", which is a distinctive, exaggerated gait with a shuffling, side-to-side motion. It is not related to camels in any way.
The Shrine Walk is a fun and humorous way for Shriners to express themselves and showcase their camaraderie. It's generally believed to have evolved through parody, entertainment, and fellowship.
The Shrine Walk is an integral part of Shriner identity and is often associated with the group's charitable work.