It's convention. The flux needs a direction, and it's just convention that the direction of flux is from the North-seeking pole of a magnet to the South-seeking pole.
Same as electric current - by convention, electric current flows from a positive
to negative; even though, in most cases, teh current is carried by electrons which move in the opposite direction.