if you walk along log floating on a lake,why does the log move in the opposite direction

if you walk along log floating on a lake,why does the log move in the opposite direction