To address the problem it is good to understand how fuel injection system of this engine works and how can we connect cause and effect.
Electronic control of Fuel Injection Pump:-

The high pressure distributor fuel pump (almost same as Bosch rotary) is part of the pre - common rail system, and runs with the engine by way of a drive shaft driven by the timing belt. For two rotations of engine this pump goes through one rotation.
This pump is responsible for mainly two functions:
Fuel injection Volume control:- Metering the fuel before sending it towards injectors for burning with air inside the combustion chamber. This is achieved through instructions sent by the ECU to Spill control valve of the pump.
Fuel injection Timing control:- Advancing or retarding the injection timing, depending upon driving conditions (speed and load). This is achieved through instructions sent by the ECU to Timing control valve of the pump.
ECU of this vehicle performs dual function of fuel injection as well as auto transmission control. It controls above mentioned fuel injection volume and timing through calculations based on inputs received from various sensors like:
Engine speed (sensor located on the pump, attached to its drive shaft)
Fuel temperature (sensor located on the pump)
Air Intake temp (sensor located on air intake pipe)
Engine temperature (sensor located on engine head)
Crankshaft position relative to TDC (sensor located on engine block, below starter motor)
Boost pressure of intake manifold (sensor located near intake manifold, connected to it with a vacuum hose)
Variations from intended volume and timing injection are corrected through two correction resistors located on the pump.
Main purpose of the complete diesel injection system is to ensure right quantity of fuel burnt at the right time for performance, fuel efficiency and less emissions.
This is a good article for understanding basics of diesel fuel injection (including types of injection systems):
https://dieseliq.com/how-diesel-fuel-injection-systems-work/