In the tales, Anansi was not always a spider. His transformation into one varies from story to story, but it's generally attributed to his cunning nature and ability to weave complex webs of deceit, much like a spider weaves its web. This symbolic transformation highlights his intelligence and craftiness.