When mothers eat a diet high in fat and sugars, their unborn babies can develop liver stress that continues into early life.