Many things can cause kinks, jags, or swellings in the spinal region. First, some questions to help me, help you.
How old are your snakes? Are they related? Are they wild-caught (or more specifically, is there a reason to believe parasites may be present?). To help determine what's the likely cause, knowing if this is a recent developement, or a recent discovery on your part would be benificial.
You are correct in that genetics can play a role in spinal deformities. If this were the case, then they'd likely have had them when you bought them and you are only noticing them now. It is also a possibility that they are genetically predisposed to developing scoliosis just as some people are. If this were the case, it would be unlikely that they both are becoming symptomatic at the same time.
Another cause is birth defects related to hydration, temperature, toxins, parasites ect... again, this would've been present all along.
Parasites that migrate throughout the body as they mature possibly can get lost and embodied in a cyst causing problems resulting in spinal deformities. This is more rare, and would be more likely in a well burdened animal.
Being snakes, nutritional deficiencies are less likely. What are these guys eating? Pinky mice? Adults or subadults?
Traumatic injury can definately cause the symptoms you are mentioning. Being that they are both new animals, this might actually be a likely possibility. What is the cage like? Are they trying to get out lots? Are they very active? Any place where a crushing or grabbing injury could happen? Are there any other wounds on the body? Nose rubs, cuts, abrasions? Do your snakes pay attention to each other? (are they kept in the same enclosure?)
All in all, if this is a self limiting problem, (in that they aren't getting worse)then the cause is less important then the definition and the treatment. Your veterinarian can take X-rays to see if it is in fact a spinal problem, or something else that is causing an abnormal posture(tumors, abcesses, cysts, swellings ect). These will also be benificial to compare to future radiographs to see if it is improving or worsening over time. More often then not, all of this begins with a sick snake, and septicemia, in which the problem may resolve with antibiotics. Bloodwork would be needed to define this as the problem, and to also ensure the organs will handle the drugs used in treatment. There are several really good drugs that will help with any long term pain. Meloxicam is an NSAID that is used more and more with reptiles, and it's long term use has little to no side effects. (in the other species that it has been used in... people, dogs, cats ect).
Good luck with your snake, I"m sure it still has a long and happy life ahead of it 
Ian