What are you doing to fix it?
Are you working with counselors to prioritize your classes? Are you meeting with the elementary campuses and elementary music teachers regularly so they promote going into your program?
Are you doing PR with the parents, going to PTA meetings, and in short, selling band as a viable option?
Or are we sitting back and doing things the way we've always done them because for some reason band should be valued higher to kids with little or no band experience? We should just expect them to WANT to put in 3+ years of work to put on a geeky uniform and stand on a football field on Friday nights playing music so highbrow that the common fan doesn't appreciate it?
The fact is, we have the most expensive option of electives in many schools. We have the largest time commitment outside of school. Band is a choice that requires parents to invest. If you don't make them see the worth of that investment, of course they're going to go with STEM - or something basically FREE like Art, Choir or Theatre.
We simply must do a better job advocating for ourselves and our programs. And simply saying "kids have too many choices, so they're not choosing band" is coming at it from the wrong way. You need to approach this from the point of view of "Kids have so many choices. Why SHOULD they choose band? What can I do to get them to choose my activity?"
Yes, it's a ton more work for directors. Yes, it's a ton more investment of time and energy, to say nothing of getting a bunch more people on board. But if you want a quality band program at the MS and HS level, in the 21st century, this is what it is going to take.
We're sixty years removed from watching Robert Preston wave a stick in front of the town and bamboozling them into forming a band. We don't need to compete "against" anything else. Kids that want athletics are going to do athletics. Same with engineering, etc. What we NEED to do is make sure they know WHY they need to be in band, what its value is, and teach that starting WELL BEFORE they fill out their elective choice sheets in fifth grade. As in YEARS before.
Grow your program by starting at the bottom. I know, sweepstakes trophies are nice - but none of that matters a hill of beans if you have 20 beginners the next year. Sell your band. Sell its benefits. Advocate.
Or you're right, your program - and then your HS program - WILL die.