In this short article we provide evidence and suggest that the spider morph originates from a mutation in a morphogen producing gene known as bone morphogenetic protein #4 or BMP4. Morphogens are responsible for the development of tissue throughout the body, and while there are a few dozen morphogens and currently 20 BMPs, BMP4 seems the most likely candidate based off several factors which I'll get into for those interested.
So I first made the assumption (which many others before me have as well) that spider ball pythons' head wobble was mainly a balance issue since spiders are capable of lying completely still and really only exhibit head wobble while moving or preparing to strike prey. This is a good indication that head wobble and balance are directly related, which then links head wobble to the inner ear which is the epicenter of balance in not only snakes but nearly all terrestrial vertebrates. As it happens, the morphogen BMP4 is responsible for both the formation and function of the inner ear, and while nothing directly proves this is the case in snakes, a study in 2016 [1] showed a homologous link between hair, scales, and feathers and that BMP4 signalling was causative in all cases. Therefore I feel at least relatively confident that BMP4 signalling is similar in both mammals and reptiles and therefore is responsible for inner ear development in both clades.
Interestingly, a study [2] looking at heterozygous BMP4 negative (BMP4 +/-) mice found some extremely similar behavior in these BMP4+/- mice and those in spider ball pythons. Surprisingly, the BMP4+/- mice demonstrated an odd circling behavior during normal movement which was actually found to be caused by poor balance by the researchers. Further, the mice were also found to have poor head stability in the yaw axis. Both of these ideas seem to be related very closely to the odd movements observed in head wobble, and normally, from my observations, spider ball pythons are far more confident in their left/right head movement than they are in their up/down head movement which normally results in corkscrews.
In looking for links between hair, feathers and scales, researchers [1] found a link between scale structure and formation, and BMP4 signalling gradients. Further, another top candidate for skin signalling in reptiles, WNT, was also found to be mitigated by BMP4 [3]. Essentially, the presence of BMP4 protein influences the coloration and patterning of the developing snake/vertebrate, and a change in the amount of BMP4 present during development would alter the appearance of the animal. So if spider ball pythons have a mutation to their BMP4 gene which reduces the available BMP4 during development, it would follow that this would also lead to a pleiotropic change in pattern and color almost regardless of the main reptile signalling pathway due to BMP4's extensive involvement in scale and skin structure seen in other vertebrates.
So as I'm sure many of you know, a super spider ball python does not survive past the first few weeks of life assuming it even hatches alive. In the mouse study [2] it was observed that those mice who were homozygous negative for their BMP4 gene (BMP4-/-) would actually die during development. In the presence of no BMP4, they simply failed to get past the first few developmental stages. This would make it appear as though super spider ball pythons have at least a scant amount of BMP4 since they manage to develop mostly or that other pathways manage to keep it developing until later stages until it inevitably dies. OWALreptiles in their super spider post managed to hatch out a living super spider which died soon after birth. After taking it to the vet for a quick necropsy the vet found it to have a deformed spine. Interestingly, there are many studies (I'll link one [4]) that demonstrate the close link between BMP4 and dorsal spinal cord development. Without enough BMP4, the spinal cord did not fully form and the spine was the clear indication of that deformation.
I'll keep these as short as I can. Essentially black head and spider are allelic but black head shows no signs of head wobble and a black head spider ball python looks nearly normal. This is because instead of a mutation to the BMP4 gene causing a reduction in the BMP4 protein, black head is instead caused by a mutation to the BMP4 gene causing an increase in BMP4 protein. As it happens, this increase is almost exactly the rate at which it is reduced in spider, and so by breeding them together, the end result is a near normal level of BMP4 which causes a near normal ball python to develop. This happens differently when bred to other head wobble morphs, but this is because the other head wobble morphs are caused by different levels of BMP4 protein available during development. It's visually clear that not all of the head wobble morphs share the same level of head wobble, and the amount of head wobble is probably in ratio with the amount of BMP4 lost, where spider is likely the greatest decrease in BMP4 since head wobble appears to be the worst in the spider gene. It just happens by luck that spider and black head share an extremely similar positive/negative relationship and cancel each other out as so. Super phantom has the interesting attribute of not being allelic with spider but seems to cancel out the spider characteristics. This is likely due to phantom being caused by a mutation on one of BMP4's antagonists like noggin [5] and not BMP4 itself. By reducing the amount of noggin (or other antagonist) available during development, it makes it so that the reduced BMP4 is actually substantial enough to develop the snake normally, however the reduced antagonist would still cause the change in phenotype to that of super phantom. Essentially it is removing BMP4's opponent to allow less BMP4 to handle the work of a normal amount of BMP4. This type of epistatic relationship is what makes Pearl ball pythons a possibility in multi-morph ball pythons. By adding genes that effect the antagonists, there will come a time when the antagonists are so reduced that the snake can develop with minimal/no issues however we would also expect a change in phenotype and it not to completely resemble a normal pearl.
[2] The Role of Bone Morphogenetic Protein 4 in Inner Ear Development and Function
[3] BMP-FGF Signaling Axis Mediates Wnt-Induced Epidermal Stratification in Developing Mammalian Skin