Because the Earth is a three-dimensional sphere and not merely a two-dimensional flat, East-West surface. Because of this spherical shape, often times the shortest distance is flying more north and south, up over the Northern latitudes and the North Pole, rather than flying east/west over the Pacific.