flowing water that deposits weathered and eroded material that eventually forms sedimentary rock is an example of an interaction between which earth systems?