Hello,
likely either air is being drawn in somewhere on the fuel lines, the diesel filter (temperature-controlled valve in the return, seals), or the crankshaft seal of the fuel pump.
When the tank is almost empty, the fuel column in the line naturally 'sucks' more... Also, check the fuel lines (rubber hoses between the injectors) too.
Search function.
Hello, Rainer