Malocclusion is when the upper and lower teeth don't line up. It can affect dental health to the point where babies might grind their teeth and can lead to cavities or gum diseases. It can be inherited, but environmental factors can also cause it. It can be caused by different eating habits, such as nail-biting and thumb sucking.