I think the law goes back the the Tx Reconstruction after the Civil War.
You're right it does. It was to keep all those Un-reconstructed Rebel Texas outlaws from carrying.