Don't soccer players run only when the ball is near them? Like if you're attacking, your teammates on defense don't run as much
In basketball everybody is constantly sprinting not just up and down the court but around and through screens, constantly jumping. Plus everybody is so much bigger than most soccer players. Centers especially tend to be the largest guys and have to travel the most distance since they have to linger near the rim.