Distances to schools are often long in the USA, so you often end up with a long bus ride to and from school, which can start, or end, when the sun is not up.
Walking to school in the dark, which I had to do as a boy, is probably more dangerous. Some places where you crossed a street had crossing guards. Some did not. And of course we kids did not always walk the route we were supposed to walk.
One morning in the winter, I remember coming up to a street crossing manned by a crossing guard, near the school. As the guard walked out to stop the traffic, a car without any lights on slammed into her and just kept going...I can still see her body flying through the air. I can still remember my brother and I frantically trying to find help. We finally managed to get someone in the school to pay attention to us and my (older) brother reported what happened.