What major should I pick to become a high school math teacher?

UCSC offers B.A in Mathematics with concentration in Mathematics Education.

UCLA offers B.S in Mathematics of Teaching, they also offer it as minor I guess if you want to do another undergrad program and still teach math, not sure though. Might want to check their math dept.

UCSD offers B.A in Mathematics/Secondary Education.

These are geared towards someone who want to get into field. But it’s not necessary that you should only do these majors.