What would cause a baby to be born with an extra thumb?

Genetics. The most common answer is a genetic "glitch" or anomaly...Look into the family history and I am willing to wager it is not the first time that that occurence has happened; also easily treatable nowadays.
See below. Sometimes a syndrome (odd features) sometims just by chance.