To your question “what happens when 2 parents don't get along?? “ I could answer:
obviously everyone faces consequences. And kids in such situations are shucked the most. Because both parents and atmosphere at home is their security and direct survival. Remember feeling of safety and security is next the most crucial need after physiological needs. Maslow pyramid nicely illustrates our main needs and if one section of needs are not satisfied the person can’t progress further. So in such families self esteem, sense of connection, love, creativity ect of the children having impact.
Same happening with adults.