I took cooking, sewing, and shop in middle school. I can’t recall the exact requirements for such classes, but there were some. However, I also don’t recall there being any boys in sewing, so that class may have been required of the girls while the boys did something else more gender-acceptable to them.
No reason to waste high school courses on the basics of this stuff.
I didn’t learn anything in 7th grade cooking that I didn’t already know, but I was expected to cook dinner at home so I suppose other students might have learned something.