First of all, I explicitly signed up to teach. At my university, fewer than ten undergraduates per semester teach a class, and typically it's for students who want to hang out and teach something they like. In order to teach, they have to take an introductory class on pedagogy first, which mostly covers assignment and syllabus design.
The student-taught-course program at my university exists far more for the (undergraduate) instructors' benefit than to teach students; its job is to give students a chance to experiment with teaching early on.