Actually the answer is at the pump name itself. The name of the pump tells the concept of how they transfer the fluid.
Centrifugal- using centrifugal force. This centrifugal force will develop when impeller rotate and caused the fluid to collide with pump casing, and caused the pressure developed. Configuration of the centrifugal pump has some hollow space in between impeller and pump casing. So if the discharge is closed, the impeller is still running but the fluid will be move backward as there is hollow space in between impeller and pump casing. We call it as pump running at shut off pressure.
for positive displacement- i.e. piston pump, the pump operate by displace a specific amount of fluid and if you look at the configuration, there is no chance for the fluid to move backwards as there is no space in between piston and casing. If there is some backflow, the flow is very2 small (negligible). That is why the pressure will keep build up as the piston move (as there is no chance the fluid to move backward as the piston move, that specific amount will be forced to move to the front).
So this is from my understanding only. Appreciate others to comment/add