The story
From palm’s (“[of] the inner surface of the hand between the wrist and the fingers”) + span (“the distance between two ends of a thing, especially between those ends furthest apart from each other”).
Etymology from Wiktionary, CC BY-SA 4.0.