Why are newly qualified doctors unprepared to care for patients at the end of life?

Why are newly qualified doctors unprepared to care for patients at the end of life?