So, "give the X to the Y," that construction corresponds to the thought "cause X to go to Y." Whereas "give the Y the X" corresponds to the thought "cause Y to have X."
Så, "gi X til Y," den konstruksjonen korresponderer med tanken "la X gå til Y." Mens "gi Y X" korresponderer med tanken "la Y ha X."