If PhD programmes prepare the candidate for research, why do teaching positions require it? Example, example.

From the first example:


  The Department of Biological and Agricultural Engineering invites applications for a full-time Assistant Professor of Teaching (Lecturer with Potential for Security of Employment (LPSOE)), comparable to a tenure-track assistant professor appointment. Professor of Teaching faculty are Academic Senate faculty members whose expertise and responsibilities center on undergraduate education and scholarly analysis/improvement of teaching methods. The successful applicant will be responsible for teaching both lower and upper division undergraduate Agricultural Sensing and Data Science lecture and laboratory courses (up to six courses per year) ... Qualified applicants must have a PhD in Engineering or a BS in Engineering with a PhD in a scientific field, preferably with postgraduate experience.


(Emphasis mine)

If this is a full-time teaching position, why are they looking for PhD degrees and postgraduate experience? How are these primarily-research degrees relevant to teaching?
In order to teach new ideas in any field, you have to (1) understand how research is conducted, and (2) be current on the state of research in the field. By allowing you to do original research, doctoral programs prepare you for both, even if you do not continue research activity.