The interaction between bed-load transport and dune orientation