I would say that is a DPF regen happening. Basically, when the car feels it needs to clear the particulate trap (based on a build up of back pressure in the exhaust), a small amount of diesel is injected into the exhaust strokes of the engine and ends up in the hot trap on the exhaust pipe, which raises the temperature in the trap and burns the particles away. Its this and the burned diesel being ejected from the exhaust that you are seeing as white smoke*.
If the car is regularly used for long fast runs, the high temperatures in the exhaust will keep the trap clear, but if its used lots around round town, it can become clogged and go into a forced regeneration of its own.
Generally this will happen if the revs are over 2000 rpm, the engine is fully warmed up and the car is travelling at a fairly constant speed. The fewer long journeys that are done, the less often this is able to happen, which means that when it does, more smoke is released... as you describe
Any modern diesel needs to have these long runs fairly often – a drive of at least 15-20 mins on a good fast road every few hundred miles -- and generally they are unsuited to only being used for town driving. If the trap becomes over-clogged, or a regen in progress doesn't complete, a yellow light comes on in the dash showing that the trap needs to be cleared (by going for a long drive). Very rarely, a software-forced regen might be needed, but really only if it never gets a long run at all.
To get a more complete picture of how a DPF cleans itself, and why these 'forced' cleans sometimes happen, see this now quite old article which describes the processes:
https://www.whatcar.com/advice/owning/diesel-particulate-filters-everything-you-need-to-know/n1181)
( * not to be confused with clouds of black smoke, which is unburned diesel from a stuck EGR valve on an older diesel without a particulate trap)