My youngest is now a Senior in HS. The HS is about 6 miles from our house. He rides the school bus.
The middle school is just under 2 miles from our house.
When my daughter went there, she would sometimes walk home in the afternoon.
For a middle-schooler - here, it's much safer to walk than ride a bike. There are no bike lanes or sidewalks and the road between our house and the middle school is the worst stretch of road that I commute on for, let's call it; motorist-interaction.
Someone walking can stay away from the roadway in the grass areas along side, including a few yards.
Very few bike riders at either school, but based on the infrastructure, that's no surprise.
The car drop off lines are often ridiculous.