It’s not the place of schools to punish students for anything that happens outside of school. The world is besieged by nannying representatives of the state. You are ok with it. I am not. It is up to their parents to discipline those kids, or not, and to the law to punish illegal behavior.
So I will put you down as opposed to in-school abortion clinics, unless the teacher impregnated the kid during school hours.