This is because the Earth's axis of rotation is tilted at 23.5 degrees, and during the equinoxes, the Earth's axis is tilted neither towards nor away from the sun. This means that the sun's rays hit the equator at a 90-degree angle, resulting in equal day and night hours for all locations on Earth.