When a propeller is rotating, it produces thrust on water. Since the amount of water is enormous according to Newtons Third Law, the thrust comes back to the ship and this thrust moves the ship in ahead (or astern) direction. This thrust is acting on the ship as shown in the figure 1 down below.