-Why overcrowding of school are causing teacher's to lose their jobs?

-how is teacher layoffs the result of overcrowding?

It's the other way around.

The economy has forced schools to layoff teachers. The result of those actions is overcrowded classrooms.