What causes tongue and lip ties?

Ties are genetic, and can be influenced by other factors (vitamins during pre-natal period, chemicals, and other influences).