Also, you can’t really use the straight–line distance between airports to figure out how much extra fuel to bring, because you never end up flying that line. For one thing, you have to approach the airport from the correct direction so that you line up with a runway and so that you’re headed into the wind. For another, you have to get down from the altitude you were holding at to ground level. Between the two you need to go not towards the airport, but towards a spot far enough away from the airport that you can fly a gentle slope down towards the runway. You might even end up flying completely around the airport while descending before actually turning in and lining up with the approach runway.
You can have mayday fuel situations where attempting to divert is more risky. But in this case they had plenty of time to prepare to divert to Oakland.