A small merchant ship making a coastal run.
The U-Boat closes to insure a hit. Torpedoes are very expensive and they only carry a few. The U-Boat can't afford a miss.
The U-Boat has to aim ahead of the merchant ship to take the speed of the ship into account.